Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319089 - Make OSGi framework configurable in JUnit Plug-in launch
Summary: Make OSGi framework configurable in JUnit Plug-in launch
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 319971
  Show dependency tree
 
Reported: 2010-07-07 04:36 EDT by Markus Kuppe CLA
Modified: 2010-07-15 08:12 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-07-07 04:36:57 EDT
Currently JUnit Plug-in tests are always executed on Equinox. It should be possible to choose the OSGi framework from the list of installed frameworks on which the launch should be executed instead.
This would foster interoperability between different OSGi frameworks.

Thanks
Markus
Comment 1 Curtis Windatt CLA 2010-07-07 14:34:52 EDT
The JUnit plug-in launch configs are based off the Eclipse Application launch config.  Since they are Eclipse specific, so are the JUnit configs.  Closing as WONTFIX as I don't there is enough interest in an entirely new launch configuration for launching junit within an osgi framework launch.
Comment 2 Alex Fitzpatrick CLA 2010-07-09 18:36:59 EDT
I'm sure that if an interested third party was to provide a patch it would be considered.
Comment 3 Markus Kuppe CLA 2010-07-10 03:51:19 EDT
(In reply to comment #2)
> I'm sure that if an interested third party was to provide a patch it would be
> considered.

Last time I checked "helpwanted" was the keyword to mark this. WONTFIX does not really encourage anything.
Comment 4 Alex Fitzpatrick CLA 2010-07-12 12:15:19 EDT
So you're volunteering then Marcus?
Comment 5 Markus Kuppe CLA 2010-07-14 10:34:49 EDT
ATM it does not look as if a patch is likely to be accepted. A few words/suggestions on how this enhancement is tackled best, might also help.
Comment 6 Darin Wright CLA 2010-07-14 10:59:50 EDT
I have not tried... but is it possible to make an OSGi launch configuration that runs JUnit tests? I.e. include the JUnit bundles (and required bundles) and add a command line argument to start the JUnit application and test suite?