Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

scalaprops

github.com

  • Free plan
  • Linux
6.7 Club score Visit github.com

What scalaprops is

Scalaprops is a free property-based testing library for Scala. It generates test values, including non-constant scala.FunctionN functions through Cogen, and allows flexible settings for individual tests. The library supports flexible law checking and identifiers beyond String values. Scalaz integration includes laws plus Gen and Cogen instances for Scalaz types. Randomness uses an immutable generator rather than mutable scala.util.Random. When a test fails, Scalaprops reports the starting seed so the run can be repeated with --seed=<value>. The README states support for Scala.js and Scala Native, with Mersenne Twister listed for JVM and Scala Native and Tiny Mersenne Twister for Scala.js. Its recommended sbt plugin adds scalapropsOnly, allowing selection by test class, method, and parameter. Listed test runners are ScalapropsFramework and sbt. The setup example says parallel test execution is currently unsupported. The repository uses the MIT license, whose text provides the software without warranty. The listed plan is Scalaprops at no cost.

Who it suits

Scalaprops suits Scala developers building property-based tests, law checks, and reproducible failure cases. It is useful for projects using sbt, Scalaz, Scala.js, or Scala Native.

Good to know, and what to watch

  • Generates non-constant functions
  • Reproducible failures through reported seeds
  • Supports Scala.js and Scala Native
  • Scalaz laws and instances included
  • Flexible test and law settings
  • Parallel test execution unsupported
  • Requires Scala tooling such as sbt
  • MIT license provides no warranty

Scalaprops

Free

Free plan

The verdict

Scalaprops offers configurable property-based testing with deterministic reruns and Scala ecosystem integrations. Teams needing parallel test execution should note the stated limitation.

What the maker publishes

Deterministic testing
When a test fails, it emits its starting seed and supports rerunning with --seed=<value>. source
Function generators
It provides generators for scala.FunctionN using Cogen, including non-constant functions. source
Law checking
It supports flexible law checking and can use test identifiers other than String. source
License
The repository is licensed under MIT, whose text provides the software without warranty. source
Parallel execution limit
The README setup example says parallel test execution is currently unsupported. source
Purpose
Scalaprops is a property-based testing library for Scala. source
Randomness
It uses an immutable random number generator and does not use mutable scala.util.Random. source
sbt plugin
The project recommends its sbt plugin, which provides a scalapropsOnly command with test class, method, and parameter selection. source
Scalaz integration
It integrates with Scalaz and provides laws and Gen and Cogen instances for Scalaz types. source
Supported runtimes
The README states support for Scala.js and Scala Native; its default random generator is Mersenne Twister for JVM and Scala Native and Tiny Mersenne Twister for Scala.js. source
Test settings
It supports flexible parameter settings for each test. source
Timeouts
The project lists timeout as soon as possible as a feature. source

Checked against the maker's pages on 9 Oct 2026.