Skip to content
SPECIFICTION
Get listed

Datafaker vs Fishery

Datafaker

datafaker.net

Fishery

github.com

Side by side

FigureDatafakerFishery
Price from—Free
Free plan—Yes
Free trial——
Open source——
Self-hostedYes—
Plans published01
Spec score · Test Data Generation Tools7.4 (#19)7.7 (#11)
InstallationThe library is hosted on Maven Central and the site shows Maven, Gradle, and Ivy dependency examples.The README gives npm and Yarn commands for installing Fishery as a development dependency.
LicenseThe project repository identifies its license as Apache-2.0.The README describes Fishery as free software and links to its license.
PurposeDatafaker generates fake data for JVM programs.Fishery is a JavaScript library for setting up objects for tests and other data needs.

Plans

Datafaker

No plans published.

Datafaker pricing →

Fishery

  • FreeFree

Fishery pricing →

In their own words

Datafaker

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

Visit datafaker.net

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