QuickCheck-2.4.1.1: Automatic testing of Haskell programs
Source code
Contents
Index
Test.QuickCheck.Monadic
Description
Allows testing of monadic values. See the paper "Testing Monadic Code with QuickCheck":
http://www.cse.chalmers.se/~rjmh/Papers/QuickCheckST.ps
.
Documentation
newtype
PropertyM
m a
Source
Constructors
MkPropertyM
unPropertyM
:: (a ->
Gen
(m
Property
)) ->
Gen
(m
Property
)
stop
:: (
Testable
prop,
Monad
m) => prop ->
PropertyM
m a
Source
assert
::
Monad
m =>
Bool
->
PropertyM
m
()
Source
pre
::
Monad
m =>
Bool
->
PropertyM
m
()
Source
run
::
Monad
m => m a ->
PropertyM
m a
Source
pick
:: (
Monad
m,
Show
a) =>
Gen
a ->
PropertyM
m a
Source
wp
::
Monad
m => m a -> (a ->
PropertyM
m b) ->
PropertyM
m b
Source
forAllM
:: (
Monad
m,
Show
a) =>
Gen
a -> (a ->
PropertyM
m b) ->
PropertyM
m b
Source
monitor
::
Monad
m => (
Property
->
Property
) ->
PropertyM
m
()
Source
monadic
::
Monad
m => (m
Property
->
Property
) ->
PropertyM
m a ->
Property
Source
monadic'
::
Monad
m =>
PropertyM
m a ->
Gen
(m
Property
)
Source
monadicIO
::
PropertyM
IO
a ->
Property
Source
monadicST
:: (
forall
s.
PropertyM
(
ST
s) a) ->
Property
Source
runSTGen
:: (
forall
s.
Gen
(
ST
s a)) ->
Gen
a
Source
Produced by
Haddock
version 2.6.0