Alex,
When I attempt to specify :num-tests, ie:
(stest/check `do-something {:clojure.spec.test.check/opts {:num-tests 10}})
It usually seems to work, but sometimes I can see code executing far more than the number of tests I've specified. This appears to be correlated to when it finds an error - but I usually don't know that until after the test run has completed. Is this a case of spec attempting to 'shrink' the input to arrive at the cause of the problem?
I am running the command from the repl and so maybe that impacts it? However, even with summarize-results it feels like the effect would be the same. Is there a different way that I'm supposed to consume this lazy sequence generated by stest/check?
Thanks!
Chris