View Code? Open in Web Editor
NEW
Get a sample Osgi bundle under test using pax exam.
osgitesting's Introduction
Verify ability to invoke code in an OSGi 'bundle' from JUnit tests
- Need to make sure we can pass parameters to service in bundle
- Need to test chain of bundles
- Need to have examples of various calling strategies
- Activator registration
- SCR (Declarative Services?)
- Blueprint
- Can now build via maven3 from the command line
- ServiceOneBundleTest now figures out where it's class file is and goes relative to that to find the ServiceOneModule bundle.
- IntelliJ does not build the bundle, so you need the command line
- or run the Maven build for the ServiceOneModule from within IntelliJ
- You cannot run a single test when the class has the
@RunWith
annotation, run all the tests in that class
- Haven't figured out how to use hamcrest matchers in the tests run by pax exam
mavenBundle("org.hamcrest", "hamcrest-library", "1.3).startLevel(30)
did not work
osgitesting's People
Contributors
Watchers