Skip to content
Advertisement

Quick and easy way to test OSGi bundles

Currently, I am working on a new version control system as part of a final year project at University. The idea is to make it highly adaptable and pluggable.

We’re using the OSGi framework (Equinox implementation) to manage our plug ins. My problem is that I can’t find a simple & easy to use method for testing OSGi bundles.

Currently, I have to build the bundle using Maven and then execute a test harness. I’m looking for something like the JUnit test runner for Eclipse, as it will save me a bunch of time.

Is there a quick and easy way to test OSGi bundles?

EDIT: I don’t need something to test Eclipse plug ins or GUI components, just OSGi bundles.

EDIT2: Is there some framework that supports JUnit4?

Advertisement

Answer

Spring Dynamic Modules has excellent support for testing OSGi bundles.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement