Skip to content
SPECIFICTION
Get listed

PropEr vs Scala Hedgehog

PropEr

proper-testing.github.io

Scala Hedgehog

hedgehogqa.github.io

Side by side

FigurePropErScala Hedgehog
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Linux—Yes
Self-hostedYes—
Plans published11
Spec score · Property-Based Testing Tools7.5 (#14)7.7 (#11)
Intended usersPropEr is designed for testing programs written in Erlang, with a focus on pure functions and library modules for stateful code.The project is for Scala developers who want property-based tests, including tests of stateful systems.
PurposePropEr is a tool for automated, semi-random, property-based testing of Erlang programs.Scala Hedgehog is a property-based testing system for Scala, in the spirit of QuickCheck and ScalaCheck.
Stateful testingIt can also be used for model-based random testing of stateful systems.It supports abstract state machine testing for stateful systems such as web services and database layers.

Plans

PropEr

  • PropErFree

PropEr pricing →

Scala Hedgehog

  • Scala HedgehogFree

Scala Hedgehog pricing →

In their own words

PropEr

PropEr is a free, open-source testing tool for Erlang programs. It performs automated, semi-random property-based testing and can generate input data from Erlang type declarations. Functions can be tested automatically from information in their Erlang specifications, while properties are written as Erlang expressions with predefined macros. PropEr also supports model-based random testing for stateful systems and targeted property-based testing using search-based techniques. Failing cases can be shrunk, and the project supports EUnit and Common Test. Constraints that Erlang’s type language cannot express can be handled with custom generators; filtering may keep trying random values until one passes. The generator language differs from Erlang’s type language for list expressions, including support for particular list lengths and element types. PropEr is self-hosted, supports Erlang, and is distributed under GPL version 3 or later. The guide describes installation from GitHub source, with make, or through Homebrew.

Visit proper-testing.github.io

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