EVERYTHING XIAOMI
Get listed

scalaprops

scalaprops is a free property-based testing library for Scala.

Place
#13 of 28
Score
5.7
scalaprops's website

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 supports flexible settings for individual tests. Its law-checking features allow identifiers beyond String, and its Scalaz integration includes laws plus Gen and Cogen instances for Scalaz types. The library uses an immutable random number generator rather than mutable scala.util.Random. When a test fails, it reports the starting seed, which can be supplied again with --seed=<value> to reproduce the run. The README states support for Scala.js and Scala Native, while Linux is the listed platform. Its default generator is Mersenne Twister for JVM and Scala Native, and Tiny Mersenne Twister for Scala.js. The project recommends its sbt plugin, which adds a scalapropsOnly command for selecting a test class, method, and parameter. ScalapropsFramework and sbt are the listed test runners. The README setup example says parallel test execution is currently unsupported. The repository is MIT licensed, with the license providing the software without warranty.

Good

  • Reports failure seeds for repeatable runs
  • Generates non-constant scala.FunctionN functions
  • Integrates with Scalaz laws and types
  • Supports Scala.js and Scala Native

Watch out

  • Parallel test execution is unsupported
  • Linux is the listed platform
  • MIT license provides the software without warranty

Who it suits

scalaprops suits Scala developers who want generated inputs, repeatable test failures, and configurable law checking. Its sbt plugin may help users select particular test classes, methods, and parameters.

Verdict

scalaprops offers property-based testing features with seed-based reruns and Scala ecosystem integrations. The setup example notes that parallel test execution is unsupported.

Plans and prices

From scalaprops's own pricing page, checked 9 Oct 2026.

All about pricing
PlanPriceWhat it gives you
ScalapropsFreeScala property-based testing library · Maven dependencies shown for test use

The facts

Each one read from scalaprops's own pages, with the date it was checked.

What it does

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

Alternatives to scalaprops

All alternatives
  1. 1fast-check logo

    fast-check

    Free planOpen sourceWebAPILinuxSelf-hosted
    7.1Free plan
  2. 2

    ScalaCheck

    Free planLinuxmacOSWindows
    6.6Free plan
  3. 3

    Gopter

    Free planLinuxSelf-hosted
    6.4Free plan
  4. 4

    JSVerify

    Free planWebSelf-hosted
    6.4Free plan
  5. 5

    Racket QuickCheck

    Free planLinuxmacOSWindows
    6.4Free plan
  6. 6

    FsCheck

    Free planLinuxmacOSWindows
    6.3Free plan