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

Reply via email to