O'Reilly logo

Spring Integration in Action by Mark Fisher, Jonas Partner, Marius Bogoevici, Iwein Fuld

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. Testing

 

This chapter covers
  • Test-driven development in the context of messaging
  • Hamcrest and Mockito matchers for messages
  • Testing asynchronous applications

 

One of the great accomplishments of our industry over the last 20 years is test-driven development (TDD). Where many methodologies have proven only to work in theory or have never proven their need, TDD has flourished. The reason for this is simple: clients only pay willingly for working software, and there’s only one way to prove that software works—test it. In essence, TDD makes the developer responsible for proving that the software works. A green test is the ultimate proof of correctness. If you don’t have a clue how you’re going to test the application, you don’t ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required