| Copyright | (c) Marcellus Siegburg 2017 |
|---|---|
| License | PublicDomain |
| Maintainer | Marcellus Siegburg <msi@informatik.uni-kiel.de> |
| Stability | Experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.Hspec.Multicheck
Contents
Description
Documentation
(==>) :: (Testable m prop, Testable prop) => Bool -> prop -> (Property m, Property) infixr 0 Source #
Implication for properties: Applied using Smallchecks ==> and
QuickChecks ==> and returned as tuple.
it :: (Testable prop, Testable IO prop) => String -> prop -> Spec Source #
Creates a spec item for SmallCheck and QuickCheck by calling Hspecs it for each
within the spec monad.
property :: (Testable IO prop, Testable prop) => prop -> (Property IO, Property) Source #
Converts the given parameter to a tuple of properties.
I.e. a Smallcheck Property and a QuickCheck Property.