-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to specify number of tests to the quickcheck macro #85
Comments
@Wilfred To clarify, have you seen the |
It would be nice to be able to control this when using the |
I think my use case is probably the same as Andreas: I have a load of tests using the |
I think this is already implemented: https://github.com/remexre/quickcheck/blame/master/src/tester.rs#L20 Close as fixed? |
That's certainly helpful, because users can explicitly re-run a single test and set QUICKCHECK_TESTS to explore more test cases if they wish. However, it doesn't meet the following usecases:
In both of these cases, I want to change the number of test cases per test, and make a permanent change. That's my usecase at least. If you think the current functionality is sufficient for quickcheck's goals, I understand. |
It'd be "probably not too hard" to change the |
I have a quickcheck test using
Vec<EnumWithManyVariants>
and my tests rarely fail. It would be nice if I could set an environment variable to make quickcheck try more possible inputs.The text was updated successfully, but these errors were encountered: