Chapter 21. Testing with Spring

Testing is a crucial part of software development; we believe you should not even think about releasing a piece of software that has not been tested in some way. The easiest testing technique is unit testing. It allows you to test each component of the application separately, in a controlled environment. Once you know that all components work on their own, it may be appropriate to run integration tests. However, these are difficult to implement, especially when you are dealing with large applications using EJBs and JTA transactions. In these cases, integration tests may be impossible to write. Once your application is tested and found to be fully functional, it is time to do some performance testing. This type of ...

Get Pro Spring 2.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.