hspec-1.11.4: A Testing Framework for Haskell

Stabilityprovisional
Safe HaskellNone

Test.Hspec.QuickCheck

Contents

Description

 

Synopsis

Params

modifyMaxSuccess :: (Int -> Int) -> Spec -> SpecSource

Use a modified maxSuccess for given spec.

modifyMaxDiscardRatio :: (Int -> Int) -> Spec -> SpecSource

Use a modified maxDiscardRatio for given spec.

modifyMaxSize :: (Int -> Int) -> Spec -> SpecSource

Use a modified maxSize for given spec.

Shortcuts

prop :: Testable prop => String -> prop -> SpecSource

 prop ".." $
   ..

is a shortcut for

 it ".." $ property $
   ..