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.
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 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.checkThe facts
| Scala Hedgehog | test.check | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux | API |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | hedgehogqa.github.io | github.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