• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pro Spring Integration - Is testing covered?

 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author
Posts: 3
Spring VI Editor Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic