You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Scheidecker <sc...@GMAIL.COM> on 2009/02/16 19:11:03 UTC

Iteration tests - How can I get the spring context or a BUS up to test code?

Hello all,

I have some code that requires the BUS to be up in order to test it.

I would like to learn how to create unit tests so that those pieces of code
can be tested.

I have unit tests for all the code that does not depend on the BUS.\

I guess basically I need to learn how to perform Iteration Tests.

So I need to modify my POMs to enable it.

I need to test code inside my su-provider which depends on the BUS to run.

How can I do it? Any pointers?

I am trying to check out Servicemix source code to see how they do it.

But I would appreciate any pointers or howtos.

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/Iteration-tests---How-can-I-get-the-spring-context-or-a-BUS-up-to-test-code--tp22042650p22042650.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.