Skip to content
SPECIFICTION
Get listed

Faker vs Fishery

Faker

faker.readthedocs.io

Fishery

github.com

Side by side

FigureFakerFishery
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Self-hostedYes—
Plans published11
Spec score · Test Data Generation Tools7.7 (#10)7.7 (#11)
IntegrationFactory Boy includes Faker integration through its factory.Faker method.The README describes using factories alongside other factories to build associated objects.
LicenseFaker is released under the MIT License.The README describes Fishery as free software and links to its license.
PurposeFaker is a Python package for generating fake data for database bootstrapping, XML documents, stress testing, and anonymizing production data.Fishery is a JavaScript library for setting up objects for tests and other data needs.
SecurityThe project repository links to a security policy for reporting security issues.The repository lists a security policy resource, but the opened page did not provide policy details.

Plans

Faker

  • FakerFree

Faker pricing →

Fishery

  • FreeFree

Fishery pricing →

In their own words

Faker

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

Visit faker.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