Developers in the know are switching to a new testing strategy - unit testing - in which coding is interleaved with testing. This powerful approach results in better-designed software with fewer defects and faster delivery cycles. Unit testing is reputed to give developers a kind of "high"-whenever they take a new programming step, their confidence is boosted by the knowledge that every previous step bas been confirmed to be correct. JUnit in Action will get you coding the new way in a hurry. As inevitable errors are continually introduced into your code, you'll want to spot them as quickly as they arise. You can do this using unit tests, and using them often. Rich in real-life examples, this book is a discussion of practical testing techniques by a recognized expert. It shows you how to write automated tests, the advantages of testing a code segment in isolation from the test of your code, and how to decide when an integration test is needed. It provides a valuable and unique-discussion of how to test complete J2EE applications.