Do I understand correctly that you want to do some testing on components deployed on a real OSGI container?
For this you can use one of the existing testing tools (junit4osgi and pax were mentioned). But I found them a bit too much for my simplistic testing habits. So I start Felix from my tests, autodeploy my bundles and then use reflection to run some tests from a specific test bundle. Sounds complicated but not that hard. Don't know how hard it would be for you to change Felix to GlassFish (GF) here since I know nothing about GF. Of course I am sure these OSGI test tools give some great features I know nothing about.. :) I guess its about personal preferences and needs. Teemu 2010/1/12 Roger Kitain <[email protected]> > Kind of a newbie question.. > We use GlassFish V3 which is OSGI (felix) based (there are a number of OSGI > modules running when the server is started). > I would like to write some tests to test the validity of OSGI bundles > deployed to GlassFish V3. Can I do this - or, s the test framework > expecting to launch its own felix instance? > > thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

