-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
My workflow with fuzzy tests is something like
- I write fuzzy tests
- The fuzzy tests find some values that make the test fail
- To reproduce the error exactly, I manually replace the fuzzy test parameters with the specific values found by the fuzzy tests
- I run the offending code, usually with a lot of
Debug.logto understand why it is failing - I get swamped in thousands of Debug.log lines because the fuzz test is still being executed hundreds of time, and it takes a lot more time than necessary
Right now the best way I found around this is to cut & paste the whole code of the Fuzzy test and turn it into a new, non-fuzzy test that runs with the parameters found by the fuzzy test, and use Test.only to skip the other tests.
I don't know if the above is the best approach. If it isn't, it would be nice to have a way to run a fuzzy test in non-fuzzy mode, ie with specific parameters, without having to fiddle too much with the code.
Reactions are currently unavailable