August 2014
Beginner to intermediate
260 pages
5h 31m
English
After going through the Setting up a Pax Exam test environment recipe, you should be ready to test OSGi applications in general. Now, let's take a closer look at what is needed to run a test with Apache Karaf as the container.
As in the previous chapters, the sources are available at https://github.com/jgoodyear/ApacheKarafCookbook/tree/master/chapter10/chapter10-recipe2. To fully understand this recipe, it is best to have gone through the previous recipe.
In the Setting up a Pax Exam test environment recipe, we defined the Felix framework as the runtime container. Now, we need to change this to Apache Karaf, so the first changes need to be done to the POM configuration. Pax Exam needs to know ...