Bug 308727

Summary: [JUnit] Update TestRunnerViewPart incrementally
Product: [Eclipse Project] JDT Reporter: Ralf Ebert <ralf>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ralf Ebert CLA 2010-04-10 11:03:55 EDT
Steps to reproduce:
- Execute a large JUnit test suite, some tests fail.
- Repeatedly re-run one test by right-click, Run/Debug, work till the test is fixed.
- The results of the first, complete first test run are gone and you have to execute the full suite again to go to the other failures.

Expected:
- When running test suites partially, the result tree could be updated instead of being replaced. So you could process all failures and run the full suite again when finished.
Comment 1 Markus Keller CLA 2010-04-12 08:21:30 EDT
I know it's not exactly what you asked for, but this might help in some cases:

- in the JUnit launch configuration, select "Keep JUnit running after a test run while debugging" 
- launch the test using Debug
- fix a failed test
=> as long as hot code replace works, you can re-run individual tests in the original test run