FREEDOM251

Freedom251 › Compare

Side by side

Scala Hedgehog vs test.check

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.

Scala Hedgehog

Free plan Linux

Scala Hedgehog offers property-based and stateful testing with shrinking and multiple test integrations. Its early release status and IntelliJ limitation are worth weighing before adopting it.

Visit Scala Hedgehog

test.check

Free plan API

test.check offers property-based testing, input generation, and shrinking for Clojure and ClojureScript projects. Check the stated Clojure requirement and ClojureScript release note before adopting it.

Visit test.check

The facts

Scala Hedgehogtest.check
Free planYesYes
Open sourceNot publishedNot published
Runs onLinuxAPI
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websitehedgehogqa.github.iogithub.com
On property-based testing tools#20 of 28#24 of 28

Scala Hedgehog: what it does well

  • Integrated shrinking preserves generated-value invariants.
  • Supports state-machine testing for stateful systems.
  • Includes SBT, Minitest, and MUnit integrations.
  • Core module has no external dependencies.

What to know first

  • The project describes the release as early.
  • The API may change before wider adoption.
  • IntelliJ does not list Hedgehog as a built-in test framework.

test.check: what it does well

  • Generates inputs for property-based tests.
  • Shrinks failing cases, including custom-generator cases.
  • Includes compound and recursive generator tools.
  • Supports clojure.test and cljs.test.
  • Free and open source.

What to know first

  • Version 0.9.0 and later requires Clojure 1.7.0 or newer.
  • The 0.8.* releases include a ClojureScript breaking change.

Alternatives to Scala Hedgehog Alternatives to test.check The whole list