Testing OSGi Bundles with Pax Exam, Groovy and Gradle

Skip to end of metadata
Go to start of metadata

Learn from Hamlet D'Arcyn how to use Pax Exam with Groovy and Gradle:

So what was I to do with Pax Exam? This framework allows you to write JUnit or TestNG tests and then executes them in the OSGi container of your choosing. It's a cool framework but much of the documentation assumes a willingness to scroll through lines and lines of Maven XML. Ugh. Life's too short to grapple with build systems.

So the nut is cracked. I've got Groovy unit tests running across Equinox, Felix, and Knopflerfish from both Gradle and IntelliJ IDEA. No Maven in sight.

Read more...

Labels:
ops4j ops4j Delete
pax-exam pax-exam Delete
tutorial tutorial Delete
blog blog Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Clicky Web Analytics