
fast-check
7.1#1 in property-based testing toolsFree planFree planWebAPILinuxSelf-hosted
Visit
| Fact | fast-check | JSVerify |
|---|---|---|
| Configuration | Users can configure runs, seeds, generated value sizes, time limits, and result reporting globally or per assertion. | The check API documents options for test count, maximum generated value size, quiet output, and random generator state. |
| Purpose | fast-check is a property-based testing library for JavaScript and TypeScript that generates inputs, runs assertions over many cases, and shrinks failures to smaller counterexamples. | JSVerify is a property-based testing library for JavaScript, inspired by QuickCheck. |
It suits JavaScript and TypeScript developers who want to check behavior across generated inputs, including stateful scenarios. Its runner-agnostic design can fit projects using a range of test runners.
JSVerify suits JavaScript developers who want generated inputs to check function properties, including asynchronous ones. It may also fit TypeScript projects that can work within the limitation on the type DSL in specs.