Fishery vs GoFakeIt
Fishery
github.comGoFakeIt
github.comSide by side
| Figure | Fishery | GoFakeIt |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Test Data Generation Tools | 7.7 (#11) | 6.9 (#25) |
| Install | The README gives npm install --save-dev fishery and yarn add --dev fishery as installation commands. | The README gives `go get github.com/brianvoe/gofakeit/v7` as the installation command. |
| Installation | The README gives npm and Yarn commands for installing Fishery as a development dependency. | The README installs the Go v7 package with `go get github.com/brianvoe/gofakeit/v7`. |
| License | The README describes Fishery as free software and links to its license. | GitHub identifies the repository license as MIT. |
| Purpose | Fishery is a JavaScript library for setting up objects for tests and other data needs. | GoFakeIt describes itself as a random fake data generator written in Go. |
Plans
In their own words
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.