• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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.
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.
Those who dance are thought mad by those who hear not the music. This tiny ad plays the bagpipes:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic