That is how we approached runtime testing by creating a simple BC Service
Unit; typically the HTTP BC. We also use 
http://jakarta.apache.org/commons/httpclient/ Commons HTTP Client  to run
automated tests in our CI environment.
However we use the 
http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=JBIMockFramework JBI Mock
Framework  to get unit tests for our Service Engines and Binding Components.
It works out really well so we can develop SEs and BCs quickly by not having
to restart SM and redeploy components. We can write unit tests and get alot
of confidence at that level.


carmichs wrote:
> 
> I am in the same spot as you.  If you figure it out, please post your
> answer.  If I figure it out, I will do the same...
> 
> 
> 
> 
> 
> 
> 
> Felipe Gaucho wrote:
>> 
>> ok, hello-world finally is working here....
>> 
>> my question now is how to test it on ServiceMix runntime ?
>> 
>> I know there is a test case into the component, and when I run "mvn
>> install" it works fine ans show the colorado sky on the screen...
>> 
>> then I copied the zip file into service mix and everything looks fine.. 
>> 
>> now, how to test it in the running ServiceMix ?? how to send messages
>> exchanges to the installed component ?
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-test-a-component--tf3362007s12049.html#a9475335
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to