Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TestScenario
- mainWithTestScenario ∷ TestTree → IO ()
- scenarioScaled ∷ TestLimit → TestScenario → TestLimit
- scenarioScaleDefault ∷ TestScenario → Ratio TestLimit
- eachOfTS ∷ (Show a, HasCallStack) ⇒ TestLimit → Gen a → (a → PropertyT IO ()) → TestScenario → Property
- withTestsTS ∷ TestLimit → Property → TestScenario → Property
- type TSProperty = TestScenario → Property
- type TSGroup = TestScenario → Group
- concatGroups ∷ [Group] → Group
- concatTSGroups ∷ [TSGroup] → TSGroup
- tsGroupToTree ∷ TSGroup → TestTree
- data ShouldAssertNF
Documentation
data TestScenario Source #
Instances
Read TestScenario Source # | |
Defined in Test.Options | |
Show TestScenario Source # | |
Defined in Test.Options | |
IsOption TestScenario Source # | |
Defined in Test.Options |
mainWithTestScenario ∷ TestTree → IO () Source #
scenarioScaled ∷ TestLimit → TestScenario → TestLimit Source #
Multiply the default scenario values by a scalar
scenarioScaleDefault ∷ TestScenario → Ratio TestLimit Source #
Return an Int number of tests, using the above-defined defaults
eachOfTS ∷ (Show a, HasCallStack) ⇒ TestLimit → Gen a → (a → PropertyT IO ()) → TestScenario → Property Source #
A modified eachOf
which uses the default TestScenario values,
multiplied by a scalar
withTestsTS ∷ TestLimit → Property → TestScenario → Property Source #
A modified withTests
which uses the default TestScenario values,
multiplied by a scalar
type TSProperty = TestScenario → Property Source #
Convenient alias for TestScenario-dependent Property
s
type TSGroup = TestScenario → Group Source #
Convenient alias for TestScenario-dependent Group
s
concatGroups ∷ [Group] → Group Source #
concatTSGroups ∷ [TSGroup] → TSGroup Source #
data ShouldAssertNF Source #
Instances
Show ShouldAssertNF Source # | |
Defined in Test.Options | |
Eq ShouldAssertNF Source # | |
Defined in Test.Options (==) ∷ ShouldAssertNF → ShouldAssertNF → Bool Source # (/=) ∷ ShouldAssertNF → ShouldAssertNF → Bool Source # |