flyingmutant / rapid

Rapid is a modern Go property-based testing library
https://pkg.go.dev/pgregory.net/rapid
Mozilla Public License 2.0
588 stars 25 forks source link

Allow setting check limits per-test #46

Closed elliot-u410 closed 1 year ago

elliot-u410 commented 1 year ago

I'd like to limit how many tests are run but only for one of my tests that is slower than the rest. This doesn't seem to be possible without hacks (like forcing the check function to return if some counter has reached a threshold).

flyingmutant commented 1 year ago

Thanks for the report! I'll close this one in favor of #38.