Knopflerfish includes a Junit based test suite that tests the framework and bundles. Developers can use this test suite to test and verify Knopflerfish on specific target environments, e.g. some combination of processor, operating system, and JVM.
The easiest way to run the test suite is to run one of the two test suite targets from the top level ant build file located in the osgi directory. E.g.
> cd osgi > ant run-kf-testsThe two test targets available are:
- Builds then executes the KF test suite.
- Builds then executes the KF test suite with security enabled.
A developer may add new test bundles to the test suite, or defined their own stand-alone test suites. The bundle documentation for the JUnit bundle describes this in detail.
Please note that passing the Knopflerfish test suite is no claim for OSGi compliance. It is a Knopflerfish specific test suite only.