I want maven to test if a built OSGi bundle could be installed and started successfully into an all-the-time running OSGi framework (Equinox).
Building a valid OSGIi bundle using maven is already solved. Now, i want to make the described integration/system test. Investigations gave me the following approaches:
- autodeploy via Maven
- start + install of OSGi bundle via Felix File Install
- get results of bundle start via felix web console JSON API or..how easier?
- parse the result via shell-script and return result to maven. then, maven should eventually say "BUILD FAILED"
or
- Using JUnit4OSGI
- Using Pax Exam
What would you recommend and why?
Regards Doe
Aucun commentaire:
Enregistrer un commentaire