reiddraper / simple-check

QuickCheck for Clojure
http://reiddraper.github.io/simple-check/
286 stars 18 forks source link

Exceptions thrown by generators aren't caught #34

Closed gfredericks closed 10 years ago

gfredericks commented 11 years ago

Exceptions in generators should probably result in a test failure, and maybe even shrink to find the smallest [seed size] that throws an exception.

gfredericks commented 11 years ago

It's worth noting that an exceptional generator when using clojure.test results in an error being reported, which I think is the desired behavior.

reiddraper commented 10 years ago

I think for now I'm going to close this as 'don't do that', but happy to revisit if others feel differently.