OSGi

Testing Newsletter - 2012/02

Summary on what happened in JVM (Java, Groovy, Scala) developers testing world in January 2012. Links to the most interesting articles and blog posts. News from JUnit, TestNG, Mockito, Selenium, Arquillian, mutation testing and many more. Enjoy!

 

OSGi code coverage with Cobertura, part II

This is the second installment of OSGi-code-coverage post. Please read the first part: OSGi code coverage with Cobertura.

In this part I'll experiment with more than one bundle being code-coveraged, and I will also use Spring Dynamic Modules to activate the bundles (instead of BundleActivator that I used previously).

 

OSGi code coverage with Cobertura

At work, we develop an application which makes heavy use of OSGi. And I need to test the bundles we write. Unit tests are not enough here, because the bundles interact a lot with filesystem and database(-s), so we need a plenty of integration/system tests here. I'm still struggling with the problem of how to organize the tests, how to fire them etc. Anyway, one of the things that I'd like to have is information about the code coverage. So, let's try.

 
Please comment using
 
Syndicate content