hspec-2.4.7: A Testing Framework for Haskell

Safe HaskellNone
LanguageHaskell2010

Test.Hspec.QuickCheck

Contents

Synopsis

Params

modifyMaxSuccess :: (Int -> Int) -> SpecWith a -> SpecWith a #

Use a modified maxSuccess for given spec.

modifyMaxDiscardRatio :: (Int -> Int) -> SpecWith a -> SpecWith a #

Use a modified maxDiscardRatio for given spec.

modifyMaxSize :: (Int -> Int) -> SpecWith a -> SpecWith a #

Use a modified maxSize for given spec.

Shortcuts

prop :: (HasCallStack, Testable prop) => String -> prop -> Spec Source #

prop ".." $
  ..

is a shortcut for

it ".." $ property $
  ..