This chapter explains how to set up a test environment for Apache Karaf. As developing OSGi applications for Apache Karaf also needs thorough testing, an environment for integration testing is needed. Pax Exam is a powerful tool for developing integration tests and can be combined with Apache Karaf.
Tip
More details about Pax Exam can be found at the OPS4j community website at https://ops4j1.jira.com/wiki/display/PAXEXAM3/Pax+Exam. If help is needed, you can find a working community at https://groups.google.com/forum/#!forum/ops4j.