Menu

Home

OSGiUnit - A framework for running JUnit tests on OSGi services

OSGiUnit is a framework for implementing and running JUnit (www.junit.org) tests for interacting OSGi bundles (www.osgi.org).

It is based on JUnit and can therefore be used with any JUnit testcase runner like ant or Eclipse.

Release 1.0 is available now, see [Installation] for installation instructions.

The sourcecode (including ant build scripts) can also be be obtained from Subversion.

There is also an example consisting of a sample OSGi service and three different implementations of OSGiUnit tests for it.

[Installation] - describes how to download and run the examples using apache ant or eclipse

osgiunit.xml - an example configuration file (with comments to explain the parameters)

OSGiUnit _Introduction.pdf - a short introduction for the OSGiUnit framework

[MeasuringCodeCoverage] - describes how to measure the code coverage of OSGiUnit tests

[Links] - contains a list of useful links including other projects of the authors of OSGiUnit

If you're interested in implementing OSGi services and tests with Groovy see the [Installation] page on how to checkout and run the groovy examples.


Project Admins: