Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319089

Summary: Make OSGi framework configurable in JUnit Plug-in launch
Product: [Eclipse Project] PDE Reporter: Markus Kuppe <bugs.eclipse.org>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: agfitzp, curtis.windatt.public, darin.eclipse, dj.houghton, markus.kell.r, slewis, tjwatson
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 319971    

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?