Property-Based Testing

Hedgehog will eat all your bugs. 'Hedgehog' is a property-based testing package in the spirit of 'QuickCheck'. With 'Hedgehog', one can test properties of their programs against randomly generated input, providing far superior test coverage compared to unit testing. One of the key benefits of 'Hedgehog' is integrated shrinking of counterexamples, which allows one to quickly find the cause of bugs, given salient examples when incorrect behaviour occurs.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1 by Huw Campbell, 3 years ago

Report a bug at

Browse source code at

Authors: Huw Campbell [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports rlang

Depends on testthat

Suggests knitr, rmarkdown

Suggested by simstudy.

See at CRAN