• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Pro Spring Integration - Is testing covered?

 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic