tasty-hedgehog-1.0.0.2: Integration for tasty and hedgehog.
Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Hedgehog

Description

This package lets you test Hedgehog properties with tasty.

Typical usage would look like this:

testGroup "tasty-hedgehog tests" [
   testProperty "reverse involutive" prop_reverse_involutive
 , testProperty "sort idempotent"    prop_sort_idempotent
 ]
Synopsis

Documentation

testProperty :: TestName -> Property -> TestTree Source #

Create a Test from a Hedgehog property

Options you can pass in via tasty

newtype HedgehogReplay Source #

The replay token to use for replaying a previous test run

Constructors

HedgehogReplay (Maybe (Size, Seed)) 

newtype HedgehogDiscardLimit Source #

The number of discarded cases allowed before Hedgehog will fail a test

newtype HedgehogShrinkLimit Source #

The number of shrinks allowed before Hedgehog will fail a test

newtype HedgehogShrinkRetries Source #

The number of times to re-run a test during shrinking