Interesting thanks for the information. Having examples is all I need, thanks!!
Ryan On Wed, Mar 10, 2010 at 2:41 PM, Jean-Baptiste Onofre <[email protected]>wrote: > Hi guys, > > FYI, I began to implement SMX4 unit tests in component like > servicemix-exec: > > > http://svn.apache.org/repos/asf/servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java > > Regards > JB > > > Eoghan Glynn wrote: > >> Ryan, >> >> For integration tests of your new OSGi components running against SMX4, >> the >> pax-exam based NMR tests[1] provide quite a neat template. >> >> Alternatively, a more cut-down integration testing framework is provided >> by >> karaf testing support[2], which has the advantage of more faithfully >> reproducing the karaf runtime environment (the system properties & >> packages >> etc.) >> >> I know this doesn't answer your question about existing SMX3 tests, but >> may >> give you some ideas about testing your new stuff. >> >> Cheers, >> Eoghan >> >> [1] >> >> http://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/itests >> >> [2] >> >> http://svn.apache.org/repos/asf/felix/trunk/karaf/tooling/testing/src/main/java/org/apache/felix/karaf/testing/AbstractIntegrationTest.java >> >> On 10 March 2010 17:05, Ryan Moquin <[email protected]> wrote: >> >> I was wondering if there was any way to convert SMX3 unit tests to test >>> against SMX4? I know SMX4 has a JBI container and that SM3 SAs should >>> deploy in it, but I've hit some minor snags before. Also, I was >>> considering >>> creating some OSGI component, but would like to be able to test those >>> like >>> I >>> was testing my SMX3 components. >>> >>> Thanks!! >>> Ryan >>> >>> >> > -- > Jean-Baptiste Onofré > --------------------------------- > HomePage > http://www.nanthrax.net > --------------------------------- > Contacts > [email protected] > [email protected] > --------------------------------- > OpenSource > BuildProcess/AutoDeploy > http://buildprocess.sourceforge.net > Apache ServiceMix > http://servicemix.apache.org > ----------------------------------- > PGP : 17D4F086 >
