Skip to content
SPECIFICTION
Get listed

fast-check vs scalaprops

fast-check

fast-check.dev

scalaprops

github.com

Side by side

Figurefast-checkscalaprops
Price fromFreeFree
Free planYesYes
Free trial——
Open sourceYes—
WebYes—
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published11
Spec score · Property-Based Testing Tools8.9 (#1)7.0 (#22)
Purposefast-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.Scalaprops is a property-based testing library for Scala.

Plans

fast-check

  • fast-checkFree

fast-check pricing →

scalaprops

  • ScalapropsFree

scalaprops pricing →

In their own words

fast-check

fast-check is a property-based testing library for JavaScript and TypeScript. It generates inputs and checks expected behavior across many cases, then reduces a failure to a smaller counterexample to help investigate it. Tests combine arbitraries that create values, properties that describe behavior, runners that execute checks, and plugins that extend runners. It works with Jest, Mocha, Vitest, Ava, Bun, Deno, the Node.js test runner, and other test runners. Runs can be configured with seeds, generated-value sizes, time limits, and result reporting globally or per assertion. fast-check supports stateful testing and reproducible failures; its project also describes fuzzing and generative testing for issues such as race conditions and prototype poisoning. The project is open source under the MIT license, and the listed plan is free. Version 5.x requires Node.js 22.12.0 or later and ECMAScript 2025; TypeScript 5.8 or later is optional.

Visit fast-check.dev

scalaprops

Scalaprops is a free Scala property-based testing library for Linux. It generates test data, including non-constant scala.FunctionN values through Cogen, and lets each test define flexible parameters. Law checking is configurable, with identifiers that may use types other than String. Scalaz integration supplies laws plus Gen and Cogen instances for Scalaz types. Randomness uses an immutable generator rather than mutable scala.util.Random. Failed tests report their starting seed, which can be passed again with --seed= for repeatable runs. The README states support for Scala.js and Scala Native, using Mersenne Twister by default on JVM and Scala Native and Tiny Mersenne Twister on Scala.js. An sbt plugin adds scalapropsOnly selection by test class, method, and parameter. ScalapropsFramework and sbt are listed test runners. Parallel test execution is unsupported.

Visit github.com