tasty-hspec-1.1.3.3: Hspec support for the Tasty test framework.

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Hspec

Contents

Synopsis

Test

testSpecs :: Spec -> IO [TestTree] Source #

Create a list of tasty TestTree from a Hspec Spec test. This returns the same tests as testSpec but doesn't create a tasty test group from them.

Options

Re-exported from tasty-smallcheck

newtype SmallCheckDepth :: * #

The "depth" parameter for SmallCheck

Constructors

SmallCheckDepth Int 

Instances

Enum SmallCheckDepth 
Eq SmallCheckDepth 
Integral SmallCheckDepth 
Num SmallCheckDepth 
Ord SmallCheckDepth 
Real SmallCheckDepth 
IsOption SmallCheckDepth 

Re-exported from tasty-quickcheck

newtype QuickCheckMaxRatio :: * #

Maximum number of of discarded tests per successful test before giving up.

Constructors

QuickCheckMaxRatio Int 

Instances

Enum QuickCheckMaxRatio 
Eq QuickCheckMaxRatio 
Integral QuickCheckMaxRatio 
Num QuickCheckMaxRatio 
Ord QuickCheckMaxRatio 
Real QuickCheckMaxRatio 
IsOption QuickCheckMaxRatio 

newtype QuickCheckMaxSize :: * #

Size of the biggest test cases

Constructors

QuickCheckMaxSize Int 

Instances

Enum QuickCheckMaxSize 
Eq QuickCheckMaxSize 
Integral QuickCheckMaxSize 
Num QuickCheckMaxSize 
Ord QuickCheckMaxSize 
Real QuickCheckMaxSize 
IsOption QuickCheckMaxSize 

newtype QuickCheckTests :: * #

Number of test cases for QuickCheck to generate

Constructors

QuickCheckTests Int 

Instances

Enum QuickCheckTests 
Eq QuickCheckTests 
Integral QuickCheckTests 
Num QuickCheckTests 
Ord QuickCheckTests 
Real QuickCheckTests 
IsOption QuickCheckTests 

Hspec re-export

module Test.Hspec