FREEDOM251

Freedom251 › Compare

Side by side

QuickTheories vs RapidCheck

Both stand on property-based testing tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

QuickTheories

Free plan APISelf-hosted

Choose QuickTheories if you want a free Java 8 library for checking properties with generated inputs, repeatable failures, and automatic shrinking. Look elsewhere if your theories need more than four generated values or if experimental coverage guidance conflicts with your coverage setup.

Visit QuickTheories

RapidCheck

Free plan LinuxSelf-hostedWindows

RapidCheck provides property-based and stateful testing with input generation and failure shrinking. Developers should account for its unfinished documentation and unstable API.

Visit RapidCheck

The facts

QuickTheoriesRapidCheck
Free planYesYes
Open sourceNot publishedNot published
Runs onAPI, Self-hostedLinux, Self-hosted, Windows
Lowest paid planFree or on requestNot published
Plans published1None
MakerNot publishedNot published
Websitegithub.comgithub.com
On property-based testing tools#13 of 28#17 of 28

QuickTheories: what it does well

  • Generates random samples of valid inputs.
  • Shrinks failing cases without custom code for each type.
  • Reports seeds so failing properties can be repeated.
  • Works with JUnit, TestNG, and other test frameworks.
  • Generator DSL supports constraints and custom types.

What to know first

  • The `forAll` API supports one to four generated values.
  • Experimental coverage guidance may reduce performance by about 10%.
  • Coverage guidance may interfere with JaCoCo and other coverage systems.

RapidCheck: what it does well

  • Generates random inputs to search for failing cases.
  • Shrinks failures into smaller counterexamples.
  • Supports stateful testing sequences.
  • Integrates with several test libraries.
  • BSD 2-Clause license.

What to know first

  • The user guide is incomplete.
  • The API may change.
  • Requires a C++11-compliant compiler.

Alternatives to QuickTheories Alternatives to RapidCheck The whole list