Fork me on GitHub
#test-check
<
2020-12-06
>
andy.fingerhut06:12:15

Thanks for pointing me in the direction of reporter-fn, and mentioning that having it throw an exception could terminate the shrinking early.

andy.fingerhut06:12:10

@gfredericks Would you be interested in some kind of patch for the test.check library, perhaps documentation only, with around 60 lines of code that is a sample reporter-fn that when given to quick-check, will print progress on the number of tests run so far, and throw an exception if shrinking takes more than 5000 iterations through the shrink loop, saving the smallest args ever encountered in an atom before throwing the exception?