Skip to content
SPECIFICTION
Get listed

factory_boy vs Fishery

factory_boy

factoryboy.readthedocs.io

Fishery

github.com

Side by side

Figurefactory_boyFishery
Price from—Free
Free plan—Yes
Free trial——
Open source——
Plans published01
Spec score · Test Data Generation Tools7.0 (#23)7.7 (#11)
AudienceIt is a fixtures replacement tool for Python tests.The README describes Fishery as useful for tests and other situations where JavaScript data needs to be set up.
LicenseThe project is distributed under the MIT License.The README describes Fishery as free software and links to its license.
Purposefactory_boy replaces static test fixtures with customizable factories for complex objects.Fishery is a JavaScript library for setting up objects for tests and other data needs.

Plans

factory_boy

No plans published.

factory_boy pricing →

Fishery

  • FreeFree

Fishery pricing →

In their own words

factory_boy

factory_boy has no write-up on Specifiction yet; its figures are above.

Visit factoryboy.readthedocs.io

Fishery

Fishery is a free JavaScript library for preparing objects as test data and for other situations where JavaScript data needs setup. Its factories define defaults, and build() creates objects with supplied parameters layered over those defaults. TypeScript users can obtain typed factory parameters and return objects, while the library also works without TypeScript. Factories may define onCreate behavior for asynchronous work; create() then performs that work and returns a promise. Additional factory capabilities include sequences, transient parameters, associations, and hooks that run after building or creating objects. Developers can extend factories with reusable builder methods by subclassing Factory. The documentation describes using factories alongside other factories to build associated objects. Installation instructions cover npm and Yarn as development dependencies. The repository identifies Fishery as free software under the MIT license and says thoughtbot, inc. maintains and funds it. GitHub Issues is the listed channel for bug reports and change requests.

Visit github.com