Hi guys, I'd like to propose to convert our osgi integration tests from pax-exam 1.x to pax-exam-karaf (which uses pax-exam 2.x).
*The problem* Our test are currently based on pax-exam 1.x. We build our test by creating a pseudo karaf instance over pax-exam by installing all the bundles we need. That is really cluttered and is really hard to maintain, since for every change in karafs dependencies we have to go all over the bundle list and see which artifacts were renamed, splitted or got new dependencies. That's a problem we have nearly every time we upgrade the karaf version inside the nmr. *The side effect* I think that this problem prevents us from adding more integration tests, since maintenance will become unbearable. But I do think that adding more tests is really needed. For example, we don't have a test that can tell us that our container even starts (not to say that bundle are started, or services are available). *The proposed solution* I propose to rewrite the integration tests based on https://github.com/openengsb/labs-paxexam-karaf. I have used this on several projects so far and it did really make a difference for me. I would say its the "selenium tests" for karaf. The value it brings to the table is that it allows you to run your tests directly inside your custom distribution (in our case directly in servicemix-nmr or servicemix distribution) and it save us the trouble of building it bundle by bundle. The tests run inside the real distribution with all its features available (from deployers and managed service factories to admin features). wdyt? -- *Ioannis Canellos* * FuseSource <http://fusesource.com> ** Blog: http://iocanel.blogspot.com ** Apache Karaf <http://karaf.apache.org/> Committer & PMC Apache Camel <http://camel.apache.org/> Committer Apache ServiceMix <http://servicemix.apache.org/> Committer Apache Gora <http://incubator.apache.org/gora/> Committer Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer *
