wood burning stoves 2.0
The moose likes Spring and the fly likes Pro Spring Integration - Is testing covered? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Pro Spring Integration - Is testing covered?" Watch "Pro Spring Integration - Is testing covered?" New topic

Pro Spring Integration - Is testing covered?

Taariq San
Ranch Hand

Joined: Nov 20, 2007
Posts: 192
I don't see anything on testing, with Camel the testing support is great but it takes a little bit of learning,
the book Camel in Action has a chapter on testing which illustrates this well.
So I wondered if this is a consideration with Spring Integration too, or if it's so simple you don't mention it.
Or maybe it's sprinkled around the different chapters.

Thanks, looking forward to reading the book, and to trying it out.
Mario Gray

Joined: Mar 28, 2011
Posts: 3

Good question!

In regards to testing your integration logic in insolation, you will find that Spring Frameworks already rich support for unit-testing is supported within SI. Thus, Junit works, and so does ezmock/mockito or whatever is your favorite test suite. Because SI is indeed Spring, you can also work with the junit4runner to test your logic in insolation. Of course because the SI are integration apps, this means having more resources available so you would want to be confident that ad-hoc stubs, or real 'integration' test resources meet your testing requirements.

So, Spring Integration is just Spring. business as usual, otherwise.
I agree. Here's the link: http://aspose.com/file-tools
subject: Pro Spring Integration - Is testing covered?
It's not a secret anymore!