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


-- | Hspec support for the Tasty test framework.
--   
--   This package provides a Tasty provider for Hspec test suites.
@package tasty-hspec
@version 1.1.3.2

module Test.Tasty.Hspec

-- | Create a <a>tasty</a> <a>TestTree</a> from an <a>Hspec</a>
--   <a>Spec</a>.
testSpec :: TestName -> Spec -> IO TestTree

-- | Create a list of <a>tasty</a> <a>TestTree</a> from a <a>Hspec</a>
--   <a>Spec</a> test. This returns the same tests as <a>testSpec</a> but
--   doesn't create a <a>tasty</a> test group from them.
testSpecs :: Spec -> IO [TestTree]

-- | The "depth" parameter for SmallCheck
newtype SmallCheckDepth :: *
SmallCheckDepth :: Int -> SmallCheckDepth

-- | Maximum number of of discarded tests per successful test before giving
--   up.
newtype QuickCheckMaxRatio :: *
QuickCheckMaxRatio :: Int -> QuickCheckMaxRatio

-- | Size of the biggest test cases
newtype QuickCheckMaxSize :: *
QuickCheckMaxSize :: Int -> QuickCheckMaxSize

-- | Replay a previous test using a replay token
newtype QuickCheckReplay :: *
QuickCheckReplay :: Maybe (QCGen, Int) -> QuickCheckReplay

-- | Number of test cases for QuickCheck to generate
newtype QuickCheckTests :: *
QuickCheckTests :: Int -> QuickCheckTests
instance Test.Tasty.Core.IsTest Test.Tasty.Hspec.Item
