Closed choeger closed 8 years ago
A question is: if a test fails by raising an exception, shall we shrink it until it doesn't fail at all, or until it fails another way? In other words, if an input of size 1000 triggers a raise Not_found
error, and after shrinking to size 500 it doesn't raise anymore but doesn't pass the test either, should we stop at 501 or continue shrinking?
@choeger can you try with the newest commit?
@choeger ping, I'd like to close this issue if it's solved.
Right now, if your code throws an exception you are drowning in the output, it would be nice to be able to shrink the counterexample in such a case as well.
e.g.: