Bug 185337 - [JUnit] Allow re-run of arbitrary suite/test selections
Summary: [JUnit] Allow re-run of arbitrary suite/test selections
Status: RESOLVED DUPLICATE of bug 130275
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 09:46 EDT by Andrew Ferguson CLA
Modified: 2007-05-03 10:13 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 Andrew Ferguson CLA 2007-05-03 09:46:44 EDT
hi,

 it would be really neat if you could select arbitrary suites, and tests from the JUnit view, and have only those run.

e.g.

 SuiteA
   Test1
   Test2  X
   Test3
 SuiteB   X
   Test4
   Test5

selecting these (marked X) for Run or Debug would then produce a run of:

 SuiteA
   Test2  
 SuiteB   
   Test4
   Test5

Looking at JUnit's TestSuite source code, it looks as though this is readily possible - you can insert the selected methods or suites into a new TestSuite object.

A supporting use-case is when you have enabled trace, and want only the trace from the selected unit tests (possibly from different suites) appearing in the console.

thanks,
Andrew
Comment 1 Martin Aeschlimann CLA 2007-05-03 10:13:34 EDT

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