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.
Vincent Massol is the creator of the Jakarta Cactus framework. He is also an active member of the Maven, Gump, Struts and MockObjects development teams. After having spent 4 years as a Technical Architect on several major projects (mostly J2EE), Vincent is now the co-founder and CTO of Pivolis, a company specialized in applying Agile Methodologies to Offshore Software Development. Consultant and lecturer during the day and open source developer at night, Vincent dreams of the time when he will be wise enough to devote all his time to his wife and two children. Vincent currently lives in Paris, France.
Ted Husted is the lead author of the best-selling Struts in Action, an active member of the Struts development team, and manager of the JGuru Struts Forum. As a consultant and lecturer, Ted has worked with Java development teams throughout the United States. Ted's most recent development project uses Test-Driven Design throughout and is available as open source [wqdata]. Ted lives in Fairport NY with his wife, two children, four computers, and anaging cat.