Bug 239241 - [JUnit] Provide a way to launch only newly created tests
Summary: [JUnit] Provide a way to launch only newly created tests
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 23469
Blocks:
  Show dependency tree
 
Reported: 2008-07-02 09:49 EDT by Mauro Molinari CLA
Modified: 2008-09-15 14:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.