hspec-1.5.4: Behavior-Driven Development for Haskell

Stabilityprovisional
Safe HaskellNone

Test.Hspec.QuickCheck

Contents

Description

 

Synopsis

Re-exports from QuickCheck

Previous versions of Hspec provided a distinct property combinator, but it's now possible to use QuickCheck's property instead. For backward compatibility we now re-export QuickCheck's property, but it is advisable to import it from Test.QuickCheck instead.

property :: Testable prop => prop -> Property

Shortcuts

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

 prop ".." $
   ..

is a shortcut for

 it ".." $ property $
   ..