Fork me on GitHub
#test-check
<
2022-08-29
>
Hugh Powell03:08:07

Is there any way to limit the number of shrinkages a failed test will do? On a fairly regular basis my REPL appears to hang, but I'm pretty sure it's just taking a while to shrink. I'd rather get a quicker response with a less than perfect shrink.

colinkahn21:09:28

I don't think anything built in. I've made a "liveliness" reporter that will log the trial or shrink step the test is on so I get feedback. Also, judicious use of no-shrink around things can help.

Hugh Powell23:09:38

Aha, I didn't know about no-shrink, looks that should work for me. Thanks 🙇