Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368302 - Run test multiple times
Summary: Run test multiple times
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Torsten Stolpmann CLA
QA Contact: Torsten Stolpmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 17:42 EST by Thom Hehl CLA
Modified: 2016-05-05 11:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thom Hehl CLA 2012-01-10 17:42:09 EST
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
Comment 1 Torsten Stolpmann CLA 2012-01-11 10:45:47 EST
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
Comment 2 Thom Hehl CLA 2012-01-11 19:01:05 EST
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.