Hedgehog for Scala
Hedgehog#
| Project | Maven Central | Maven Central (JS) | Bintray |
|---|---|---|---|
| hedgehog-core | | ||
| hedgehog-runner | | ||
| hedgehog-sbt | | ||
| hedgehog-minitest | |
- Supported Scala Versions:
2.11,2.12,2.13and3.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
- Features
- Getting Started
- Example
- Guides
- Motivation
- Resources
- Alternatives
- Integration with other test libraries
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