tasty-quickcheck-0.8.4: QuickCheck support for the Tasty test framework.

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.QuickCheck

Contents

Description

This module allows to use QuickCheck properties in tasty.

Synopsis

Documentation

testProperty :: Testable a => TestName -> a -> TestTree #

Create a Test for a QuickCheck Testable property

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 # 

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

Internal

This is exposed for testing purposes and not considered as a part of the public API. You probably shouldn't need it.

newtype QC #

Constructors

QC Property 

Instances