Skip to content
SPECIFICTION
Get listed

Scala Hedgehog vs SmallCheck

Scala Hedgehog

hedgehogqa.github.io

SmallCheck

hackage.haskell.org

Side by side

FigureScala HedgehogSmallCheck
Price fromFree—
Free planYes—
Free trial——
Open source——
LinuxYes—
Plans published10
Spec score · Property-Based Testing Tools7.7 (#11)5.1 (#28)

Plans

Scala Hedgehog

  • Scala HedgehogFree

Scala Hedgehog pricing →

SmallCheck

No plans published.

SmallCheck pricing →

In their own words

Scala Hedgehog

Scala Hedgehog is a property-based testing system for Scala that generates values to check properties and can simplify failing cases while preserving the generated values’ invariants. Range combinators let developers set the scope of generated numbers and collections. For stateful software, its abstract state machine testing can model systems such as web services and database layers. The project includes an SBT test runner and integration modules for Minitest and MUnit; its documentation also describes Gradle support through a Scala plugin. Documented Scala versions are 2.12, 2.13 and 3.3 or later. Binary dependencies for its modules are published through Maven Central, and the core module has no external dependencies. Scala Hedgehog is free, with no paid plans listed. The project describes its release as early and says its API may change before wider adoption. IntelliJ’s Scala plugin does not list Hedgehog among its built-in test frameworks, though Properties tests can be run as applications. The getting-started documentation assumes SBT; SBT 1.9.1 and later support the testing extension by default, while earlier versions require a testFrameworks setting.

Visit hedgehogqa.github.io

SmallCheck

SmallCheck has no write-up on Specifiction yet; its figures are above.

Visit hackage.haskell.org