Re: [osgi-dev] Unit testing

2006-11-08 Thread David Leangen
Our approach is to keep JUnit totally separate from OSGi, and I personally feel more comfortable with this. I see unit tests as just that: UNIT tests. They should remain much lower level and should be, IMHO, unrelated to the full-blown OSGi runtime environment. That does not exclude OSGi replacin

Re: [osgi-dev] Unit testing

2006-11-08 Thread Jeff McAffer
All parts of the Eclipse project have JUnit tests that are run automatically during the build process.  This is true whether they involve the UI workbench or resources workspace or none of the above.  You can look at the Equinox tests for examples of such test suites (not related to the workspace

Re: [osgi-dev] Unit testing

2006-11-08 Thread Alex Karasulu
Nikunj Mehta wrote: > How do you combine unit testing with bundle development? Is there a nice > integration of JUnit and OSGI that is widely used for this? > > I find it a particularly thorny issue since both JUnit and OSGI assume > complete control of the running process, class loading, object

Re: [osgi-dev] Unit testing

2006-11-08 Thread Nikunj Mehta
It is not obvious how one would use the Eclipse PDE for unit testing non-Eclipse plugin bundles. Isn't workspace and workbench testing all that Eclipse PDE Unit tests can be used for? If not, is there a document describing this? Thanks, Nikunj Jeff McAffer wrote: > > The Eclipse Plugin Develo

Re: [osgi-dev] Unit testing

2006-11-08 Thread Bram de Kruijff
> How do you combine unit testing with bundle development? Is > there a nice integration of JUnit and OSGI that is widely > used for this? The people over at "Spring OSGi" are doing some work in this area, but they are just getting started. http://www.springframework.org/osgi/ regards, Bram _

[osgi-dev] bnd and resource-only packages

2006-11-08 Thread Tom Huybrechts
Hi all, I have a jar which has only resources (icons, i18n). When I try to wrap this in a bundle, bnd does not generate any exports - probably because bnd only takes classes into account. Is this a bug, or should Export-Package not be used for resources ? Tom

Re: [osgi-dev] Unit testing

2006-11-08 Thread Jeff McAffer
The Eclipse Plugin Development Environment (PDE) has explicit support for this Jeff Nikunj Mehta <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/08/2006 10:00 AM Please respond to OSGi Developer Mail List To osgi-dev@bundles.osgi.org cc Subject [osgi-dev] Unit testing

Re: [osgi-dev] Unit testing

2006-11-08 Thread Mats-Ola Persson
Hi, Knopflerfish is using JUnit to perform some testing. I'm not aware of all details, but you might want to check it out.. Regards, Mats-Ola Nikunj Mehta wrote: > How do you combine unit testing with bundle development? Is there a nice > integration of JUnit and OSGI that is widely used for t

[osgi-dev] Unit testing

2006-11-08 Thread Nikunj Mehta
How do you combine unit testing with bundle development? Is there a nice integration of JUnit and OSGI that is widely used for this? I find it a particularly thorny issue since both JUnit and OSGI assume complete control of the running process, class loading, object instantiation, and threads.