I have a unit test that fails sometimes and debugging it is a pain because I don't know why it sometimes fails.
Is there a way inside Eclipse that I can run a JUnit test 5 times or 50 times or something?
Thanks.
Have you tried something like this?
@Test public void runMultipleTests() { for (int i = 0; i < 10; i++) { myTestMethod(); } }