hedgehog: Hedgehog will eat all your bugs.

[ bsd3, library, testing ] [ Propose Tags ]

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

To get started quickly, see the examples: https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example


[Skip to Readme]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.4, 0.4.1, 0.5, 0.5.1, 0.5.2, 0.5.3, 0.6, 0.6.1, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1, 1.1.1, 1.1.2, 1.2
Dependencies ansi-terminal (>=0.6 && <0.7), async (>=2.0 && <2.2), base (>=3 && <5), bytestring (>=0.10 && <0.11), concurrent-output (>=1.7 && <1.8), containers (>=0.4 && <0.6), directory (>=1.2 && <1.4), exceptions (>=0.7 && <0.9), mmorph (>=1.0 && <1.1), mtl (>=2.1 && <2.3), pretty-show (>=1.6 && <1.7), primitive (>=0.6 && <0.7), random (>=1.1 && <1.2), resourcet (>=1.1 && <1.2), semigroups (>=0.16 && <0.19), template-haskell (>=2.10 && <2.12), text (>=1.1 && <1.3), th-lift (>=0.7 && <0.8), time (>=1.4 && <1.9), transformers (>=0.3 && <0.6), transformers-base (>=0.4 && <0.5), wl-pprint-annotated (>=0.0 && <0.1) [details]
License BSD-3-Clause
Author Jacob Stanley
Maintainer Jacob Stanley <jacob@stanley.io>
Category Testing
Home page https://hedgehog.qa
Bug tracker https://github.com/hedgehogqa/haskell-hedgehog/issues
Source repo head: git clone git://github.com/hedgehogqa/haskell-hedgehog.git
Uploaded by JacobStanley at 2017-04-08T11:01:00Z
Distributions Arch:1.1.2, Debian:1.0.3, LTSHaskell:1.0.5, NixOS:1.0.5, Stackage:1.1.2, openSUSE:1.1.1
Downloads 37841 total (417 in the last 30 days)
Rating 2.75 (votes: 12) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hedgehog-0.1

[back to package description]

hedgehog Hackage version Build Status

Hedgehog will eat all your bugs.

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

Features

  • Integrated shrinking, shrinks obey invariants by construction.
  • Generators allow monadic effects.
  • Range combinators for full control over the scope of generated numbers and collections.
  • Equality and roundtrip assertions show a diff instead of the two inequal values.
  • Template Haskell test runner which executes properties concurrently.