{"repo":"hedgehogqa/haskell-hedgehog","free":true,"listed":false,"github":"https://github.com/hedgehogqa/haskell-hedgehog","clone":"git clone https://github.com/hedgehogqa/haskell-hedgehog.git","description":"Release with confidence, state-of-the-art property testing for Haskell.","language":"Haskell","stars":695,"topics":["haskell","testing","property-based-testing","property-testing","testing-tools","test","quickcheck"],"license":null,"category":"dev-tools","readme_excerpt":"Release with confidence. [![Hackage][hackage-shield]][hackage] [![GitHub CI][github-shield]][github-ci] Hedgehog automatically generates a comprehensive array of test cases, exercising your software in ways human testers would never imagine. Generate hundreds of test cases automatically, exposing even the most insidious of corner cases. Failures are automatically simplified, giving developers coherent, intelligible error messages. Features - Integrated shrinking, shrinks obey invariants by construction. - Abstract state machine testing. - 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. Example The main module, [Hedgehog][haddock-hedgehog], includes almost everything you need to get started writing property tests with Hedgehog. It is designed to be used alongside [Hedgehog.Gen][haddock-hedgehog-gen] and [Hedgehog.Range][haddock-hedgehog-range] which should be imported qualified. You also need to enable Template Haskell so the Hedgehog test runner can find your properties. Once you have your imports set up, you can write a simple property: And add the Template Haskell splice which will discover your properties: If you prefer to avoid macros, you can specify the group of properties to run manually instead: You can then load the module in GHCi, and run i","default_branch":null,"files":null,"tree":[],"storefront":"/r/hedgehogqa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hedgehogqa/haskell-hedgehog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}