-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | Integration for tasty and hedgehog.
--   
--   Integrates the hedgehog testing library with the tasty
--   testing framework.
@package tasty-hedgehog
@version 1.4.0.2

-- | This package lets you test Hedgehog properties with tasty.
--   
--   Typical usage would look like this:
--   
--   
--   testGroup "tasty-hedgehog tests" [
--      testPropertyNamed "reverse involutive" "prop_reverse_involutive" prop_reverse_involutive
--    , testPropertyNamed "sort idempotent"    "prop_sort_idempotent"    prop_sort_idempotent
--    ]
--   
module Test.Tasty.Hedgehog

-- | Create a TestTree from a Hedgehog Property.
testProperty :: TestName -> Property -> TestTree

-- | testPropertyNamed testName propertyName property
--   creates a TestTree from property using
--   testName as the displayed description for the property. The
--   propertyName is used by Hedgehog when a failure occurs to
--   provide instructions for how to re-run the property and should
--   normally be set to a string representation of the property
--   argument.
--   
--   
--   testPropertyNamed
--    "reverse is involutive"
--    "prop_reverse_involutive"
--    prop_reverse_involutive
--   
testPropertyNamed :: TestName -> PropertyName -> Property -> TestTree

-- | Create a TestTree from a Hedgehog Group.
fromGroup :: Group -> TestTree

-- | The replay token to use for replaying a previous test run
newtype HedgehogReplay
HedgehogReplay :: Maybe (Skip, Seed) -> HedgehogReplay

-- | If a test case fails, show a replay token for replaying tests
newtype HedgehogShowReplay
HedgehogShowReplay :: Bool -> HedgehogShowReplay

-- | The number of successful test cases required before Hedgehog will pass
--   a test
newtype HedgehogTestLimit
HedgehogTestLimit :: Maybe TestLimit -> HedgehogTestLimit

-- | The number of discarded cases allowed before Hedgehog will fail a test
newtype HedgehogDiscardLimit
HedgehogDiscardLimit :: Maybe DiscardLimit -> HedgehogDiscardLimit

-- | The number of shrinks allowed before Hedgehog will fail a test
newtype HedgehogShrinkLimit
HedgehogShrinkLimit :: Maybe ShrinkLimit -> HedgehogShrinkLimit

-- | The number of times to re-run a test during shrinking
newtype HedgehogShrinkRetries
HedgehogShrinkRetries :: Maybe ShrinkRetries -> HedgehogShrinkRetries
instance GHC.Classes.Eq Test.Tasty.Hedgehog.HedgehogDiscardLimit
instance GHC.Classes.Eq Test.Tasty.Hedgehog.HedgehogShrinkLimit
instance GHC.Classes.Eq Test.Tasty.Hedgehog.HedgehogShrinkRetries
instance GHC.Classes.Eq Test.Tasty.Hedgehog.HedgehogTestLimit
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogDiscardLimit
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogReplay
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogShowReplay
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogShrinkLimit
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogShrinkRetries
instance Test.Tasty.Options.IsOption Test.Tasty.Hedgehog.HedgehogTestLimit
instance Test.Tasty.Core.IsTest Test.Tasty.Hedgehog.HP
instance GHC.Classes.Ord Test.Tasty.Hedgehog.HedgehogDiscardLimit
instance GHC.Classes.Ord Test.Tasty.Hedgehog.HedgehogShrinkLimit
instance GHC.Classes.Ord Test.Tasty.Hedgehog.HedgehogShrinkRetries
instance GHC.Classes.Ord Test.Tasty.Hedgehog.HedgehogTestLimit
instance GHC.Internal.Show.Show Test.Tasty.Hedgehog.HedgehogDiscardLimit
instance GHC.Internal.Show.Show Test.Tasty.Hedgehog.HedgehogShrinkLimit
instance GHC.Internal.Show.Show Test.Tasty.Hedgehog.HedgehogShrinkRetries
instance GHC.Internal.Show.Show Test.Tasty.Hedgehog.HedgehogTestLimit
