camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Possible to have a unit test in camel-core that uses spring?
Date Wed, 31 Mar 2010 01:31:00 GMT
Just as Stan said , you can put the test into camel-spring.
If you go through the camel-spring test, special the processor package, 
you will find there are lots of test which are based on the camel-core 
test and are doing the regression work for spring configuration.

Willem

Stan Lewis wrote:
> What about a separate test in camel-spring to test this out?  So you
> can have your unit test in camel-core that directly tests out your
> changes and then a second more elaborate test perhaps that shows the
> spring configuration.
> 
> On Tue, Mar 30, 2010 at 3:17 PM, Jim Talbut <jtalbut@spudsoft.co.uk> wrote:
>> Hi,
>>
>> I'm working on this: https://issues.apache.org/activemq/browse/CAMEL-2563
>> and I want to have a unit test for it that tests that I can configure the
>> tracer using spring, but I don't think this is possible.
>> Am I right?
>>
>> All the tests I can find using spring reference one or more of camel-test or
>> camel-spring, which I don't think I can access from camel-core.
>> I could demonstrate the configuration of the camel-context using normal
>> spring, but I don't think that proves very much.
>>
>> Should I just forget spring tests?
>>
>> Thanks
>>
>> Jim
>>
> 


Mime
View raw message