Bug 499806 - [JUnit] Add "Repeat test N times" checkbox to JUnit launch configuration
Summary: [JUnit] Add "Repeat test N times" checkbox to JUnit launch configuration
Status: CLOSED DUPLICATE of bug 339742
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 04:58 EDT by Andrey Loskutov CLA
Modified: 2016-09-19 03:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2016-08-17 04:58:06 EDT
I often have to investigate sporadic test failures, and usually on first attempt I have to rewrite tests to either use some JUnit4 constructs to repeat the test N times or to create a JUnit 3 testsuite containing same test multiple times. In all cases this means lot of temporary code which I don't want to commit anyway and wasted time for me to setup all this.

Ideally, the JUnit launch configurations would have a checkbox "[ ] Repeat test N times:" and a text filed next to it allowing users to specify how many times the test should be repeated. 

Additionally to that one could add "[ ] Stop execution on first failure" checkbox, which can be used not only for the proposed case but also in general.

WDYT?
Comment 1 Sarika Sinha CLA 2016-08-29 00:35:42 EDT
Moving to JDT UI
Comment 2 Noopur Gupta CLA 2016-09-19 03:00:49 EDT

*** This bug has been marked as a duplicate of bug 339742 ***