1.Pax+Exam
https://ops4j1.jira.com/wiki/display/paxexam/Pax+Exam
2.OSGi - Automated, unit and integration tests with JUnit
http://softwareisart.blogspot.com/2011/11/osgi-automated-unit-and-integration.html
3.OSGI sample
http://osgi.com.cn/article/7289495