Knopflerfish 6.1.2
Contents
Release Notes
License
Getting Started
Installing
Running
Building
Programming
Testing
Developer's Doc
Tutorials
Java API docs
Framework and Bundle docs
Bundle jar docs
www.knopflerfish.org
Bug tracker
Bundle repository
Source (git)
Eclipse plugin
Maintained by Makewave
Knopflerfish Pro
Professional Services
Training

OSGi for Business Use

Testing Knopflerfish

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-tests
  

The two test targets available are:
run-kf-tests
Builds then executes the KF test suite.
run-kf-tests-secure
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.