trystan/hspec — Issue #37: Errors that occur while generating values for qc properties are not handled
Author: sol
Created: 2011-11-30 07:51:13+00:00
State: open

Here is a minimal example (aborts on "foo", "bar" will not be tried):

import Test.Hspec.Monadic
import Test.Hspec.QuickCheck
import Test.QuickCheck hiding (property)

data Foo = Foo
deriving (Eq, Show)

instance Arbitrary Foo
where arbitrary = undefined

main = hspec $ do
it "foo" $ property (== Foo)
it "bar" $ property True