Pax Exam is a tool to ease testing OSGi frameworks and applications. It provides a simple to set up integration test framework for OSGi. You can safely run your tests on a local OSGi framework. It has dozens of supported OSGi framework configurations. You can execute and debug a chunk of code inside your OSGi-based application.