Community
Participate
Working Groups
Build Identifier: I sometimes have a junit test that fails every once in a while. I need to be able to run it multiple times to re-create the issue, then again when I'm done to make sure it is working properly. I would like to have a feature added so that I can run a junit test some number of times, like 50. Reproducible: Always
I think JUnit Theories/Assumptions, introduced with JUnit 4.4 might be something that helps you solve your problem within the framework itself (See http://junit.sourceforge.net/doc/ReleaseNotes4.4.html). I think this would be a much cleaner solution here. What do you think? Torsten
No, because, in my circumstance, the test should NEVER fail. The failure indicates some criteria that I don't have nailed down and need to fix, but I can't recreate consistently. Then, once I've fixed it, it's hard to be certain it is fixed.