Chapter 9. Testing with Spring and OSGi
The importance of application testing was briefly addressed back in Chapter 2, where you learned to perform both unit and integration testing in the context of the Spring Framework. In doing so, you saw how Spring's POJO-based approach favors unit testing, as well as explored Spring's facilities to perform integration testing against RDBMSs.
Testing OSGi applications presents its own set of challenges. Among these are replicating an OSGi environment to verify that bundles work as expected once installed in an OSGi production environment and creating tests that use OSGi services.
Using Spring-DM simplifies this process. As it's been illustrated numerous times throughout the book, Spring-DM allows OSGi logic ...
Get Pro Spring Dynamic Modules for OSGi™ Service Platforms now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.