hspec-core-2.11.10: A Testing Framework for Haskell
Stabilityprovisional
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Hspec.Core.QuickCheck

Description

 
Synopsis

Documentation

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

Use a modified maxSuccess for given spec.

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

Use a modified maxDiscardRatio for given spec.

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

Use a modified maxSize for given spec.

modifyMaxShrinks :: (Int -> Int) -> SpecWith a -> SpecWith a Source #

Use a modified maxShrinks for given spec.

modifyArgs :: (Args -> Args) -> SpecWith a -> SpecWith a Source #

Use modified Args for given spec.

Orphan instances

Example Property Source # 
Instance details

Associated Types

type Arg Property Source #

Example (a -> Property) Source # 
Instance details

Associated Types

type Arg (a -> Property) Source #

Methods

evaluateExample :: (a -> Property) -> Params -> (ActionWith (Arg (a -> Property)) -> IO ()) -> ProgressCallback -> IO Result Source #