Bug 215325 - [JUnit] - Want to run all tests in several projects
Summary: [JUnit] - Want to run all tests in several projects
Status: RESOLVED DUPLICATE of bug 111126
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 05:22 EST by Johan Walles CLA
Modified: 2008-01-15 12:35 EST (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 Johan Walles CLA 2008-01-15 05:22:46 EST
Build ID: M20070921-1145

Steps To Reproduce:
1. Run / Open Run Dialog...
2. Right-click JUnit
3. Click "New"
4. "Run all tests in the selected project, package or source folder:"
5. Try to select more than one project by holding down CTRL while selecting projects

Current result:
I can't select more than one project.

Expected result:
I should be able to select more than one project.

Rationale:
Keeping all code related to a project in one Eclipse project has its limitations (bug 202263).  Therefore I've split my real-world project into several Eclipse projects.

But I would still like to run all unit tests related to one real-world project using only one launcher.
Comment 1 Dani Megert CLA 2008-01-15 08:27:33 EST
This is a limitation of the Run/Debug dialogs. Moving to Debug for consideration.
Comment 2 Darin Wright CLA 2008-01-15 10:16:27 EST
A workaround could be to create a top level project that prereqs all your test projects and has a test suite method that references the other suites?

The JUnit tab could allow for more than one project - which is supplied by JDT. 

Currently, the only limitation in the platform is with context launch (selection sensitive launching which only launches a single selection). What limitation were you referring to Dani?
Comment 3 Dani Megert CLA 2008-01-15 10:25:34 EST
>What limitation were you referring to Dani?
Sorry, I was parsing comment 0 too fast. What I miss is: I can't open the Run or Debug dialog, select more than one launch and run them at once: I can select more than one but the Run/Debug button gets disabled. I should either be able to run them all or multi-selection should be disabled.

The requested feature is bug 111126.
Comment 4 Darin Wright CLA 2008-01-15 12:35:27 EST
See related feature request in debug to launch multiple configs at once - bug 39900.

Marking as dup of existing bug in JDT.

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