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
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
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
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
> 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
_
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
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
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
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.