Bug 411215 - PDE JUnit laucher to launch test from Target Platform (not only workspace)
Summary: PDE JUnit laucher to launch test from Target Platform (not only workspace)
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2013-06-20 04:59 EDT by Mickael Istria CLA
Modified: 2013-06-20 10:09 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 Mickael Istria CLA 2013-06-20 04:59:30 EDT
Currently, the JUnit PDE laucher UI only allows to use a bundle and a Test that are actually in the workspace, as it only seeks for projects.
However, it is interesting in some cases to run a test which is installed in the target platform but not imported as a project. The underlying PDE Test Launcher application seems to provide this ability, so UI should show it as well.
Comment 1 Mickael Istria CLA 2013-06-20 06:14:10 EDT
This would probably require either some refactorings in org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationTab (or a replacement for usage of this class in org.eclipse.pde.ui.launcher.TestTab as the usage of IJavaProject to find test classes and methods is deeply integrated in the flow of this page. Instead of an IJavaProject, the PDE wizard could use a new JavaContainer which would allow to resolve content of a bundle as well as Java Project.
Comment 2 Curtis Windatt CLA 2013-06-20 10:09:09 EDT
This wouldn't be used often in the SDK, as our test bundles are not part of the default target platform.  If the UI is still easy to use for workspace tests, I would review a contribution.