Reputation: 9934
I have a TestNG unit test that is intermittently failing. Is there a way to run a single unit test multiple times using the surefire plugin? If not, are there any suggestions on the best way to handle this?
Upvotes: 8
Views: 3471
Once way I found is:
@Test(invocationCount = 100)
Upvotes: 6