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 have any business building it.

18.1. Matching messages with the Spring Integration testing framework

 
 
 

18.2. Mocking services out of integration tests

 

18.3. Testing an asynchronous system

 
 
 

18.4. Summary

 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage