scalacheck icon indicating copy to clipboard operation
scalacheck copied to clipboard

don't shrink for Exceptions

Open Stefanqn opened this issue 6 years ago • 0 comments

e.g. in my current use case, a entity is created and saved to mongoDB. If mongoDB is unavailable, a MongoTimeoutException is thrown (after 5 sec) and the test shrinks continues shrinking the entity for a long time.

It would be great, if I could disable shrinking for certain Exceptions (like MongoTimeoutException) or disable it by default and just allow shrinking for e.g. TestFailedExceptions.

Stefanqn avatar Mar 20 '19 15:03 Stefanqn