I have just finished an example and docs of some tips and tricks I learned for writing OSGi tests using pax exam.
Some highlights: - Mock tests for DS components using Mockito - Debug pax exam based tests like plain java code (edit, save, debug) - Full support for hamcrest matchers - Use Awaitility for polling asynchronous external systems - Create test bundles with bnd and DS components on the fly using TinyBundles - Use logback in pax exam See https://github.com/cschneider/osgi-testing-example Cheers Christian -- -- Christian Schneider http://www.liquid-reality.de Computer Scientist http://www.adobe.com -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
