Hedgehog for Scala

Hedgehog#

Release Status

ProjectMaven CentralMaven Central (JS)Bintray
hedgehog-coreMaven CentralMaven Central Download
hedgehog-runnerMaven CentralMaven Central Download
hedgehog-sbtMaven CentralMaven Central Download
hedgehog-minitestMaven CentralMaven Central Download
  • Supported Scala Versions: 2.11, 2.12, 2.13 and 3.0.0-M2

Hedgehog will eat all your bugs.

Hedgehog is a modern property-based testing system, in the spirit of QuickCheck (and ScalaCheck). Hedgehog uses integrated shrinking, so shrinks obey the invariants of generated values by construction.

Current Status#

This project is still in some form of early release. The API may break during this stage until (if?) there is a wider adoption.

Please drop us a line if you start using scala-hedgehog in anger, we'd love to hear from you.

Features#

  • Integrated shrinking, shrinks obey invariants by construction.
  • Abstract state machine testing.
  • Range combinators for full control over the scope of generated numbers and collections.
  • SBT test runner
  • Currently no external dependencies in the core module