Bug 239241

Summary: [JUnit] Provide a way to launch only newly created tests
Product: [Eclipse Project] JDT Reporter: Mauro Molinari <mauromol>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 23469    
Bug Blocks:    

Description Mauro Molinari CLA 2008-07-02 09:49:52 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1. create a Java class
2. create a test suite for it
3. run the test suite as JUnit Test
4. now add some new test methods to the test suite

Now, it would be very useful if I could run just the new test methods, instead of re-running the whole test suite.
A button like "Re-run Test - New test methods first" (like "Re-run Test - Failures first") would be an acceptable compromise.

More information:
I know you can Run As => JUnit Test on the new methods, but this adds new launch configurations for just those methods, while I would like just to run the new tests without having to wait the completion of all the other.
Comment 1 Benjamin Muskalla CLA 2008-09-15 14:17:33 EDT
I really like to see this feature.

I like the idea of a new run button as counter-part to the "Re-run Test - Failures first" action. I just wonder if this doesn't clutter the UI too much.