
fast-check
7.1#1 in property-based testing toolsFree planFree planWebAPILinuxSelf-hosted
Visit
| Fact | fast-check | ScalaCheck |
|---|---|---|
| Compatibility | Version 4 requires Node.js 12.17.0 or newer, ES2020 support and TypeScript 5.0 or newer when TypeScript is used. | The project README says ScalaCheck is supported by the Gradle plugin for Scala.js and Scala Native. |
| Integrations | The ecosystem lists official integrations for AVA, Jest, and Vitest, along with connectors for libraries such as Zod and io-ts. | The site says ScalaCheck works with sbt and is integrated with ScalaTest, specs2 and LambdaTest. |
| 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. | ScalaCheck is a Scala library for automated property-based testing of Scala or Java programs. |
| Support | The project invites code and non-code contributions, community help, and financial support through GitHub Sponsors or OpenCollective. | The documentation page links to GitHub bug reports, a mailing list and Stack Overflow. |
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.
ScalaCheck is suited to developers testing Scala or Java code with randomized property checks. It fits projects using sbt or the listed testing integrations, and can also be run standalone.