Hi, quite some time ago I wrote a blog about how to test with Pax-Exam [1]. Might be of interest for you.
regards, Achim [1] - http://notizblog.nierbeck.de/2013/08/testing-camel-jpa-routes-with-pax-exam-and-karaf/ 2015-09-21 16:44 GMT+02:00 ywang9009 <[email protected]>: > Christian, thanks for the reply. Yes I was talking about inter-bundle > dependency. One example is like this: I have some common code which lives > in > another bundle so the current bundle depends on that bundle. I can't unit > test the code in this bundle unless the common code bundle is loaded. I > have > seen example of using pax-exam, but I couldn't get it to work. Do you have > any suggestion to address this scenario? Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Unit-testing-Fuse-Karaf-with-camel-implemented-in-blueprint-shortcoming-1-tp5771641p5771717.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
