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

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Hspec

Contents

Synopsis

Test

testSpec :: TestName -> Spec -> IO TestTree Source #

Create a tasty TestTree from an Hspec Spec.

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 :: * #

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 :: * #

Constructors

QuickCheckMaxRatio Int 

Instances

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

newtype QuickCheckMaxSize :: * #

Constructors

QuickCheckMaxSize Int 

Instances

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

newtype QuickCheckTests :: * #

Constructors

QuickCheckTests Int 

Instances

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

Hspec re-export

module Test.Hspec