Effective Unit Testing: A Guide for Java Developers
by Lasse Koskela

Code is written by people, and we make mistakes. Bugs. To prevent us from shipping bugs to our users, we test our software to verify that it works as it should. Savvy Java developers have learned that not all testing is created equal. In addition to traditional functional testing, many shops are adopting developer testing techniques such as unit testing. These leading craftsmen create specific, automated tests to verify the accuracy and function of code while it's being written - or even before it's written - because they want to catch bugs early. Better still, new tools and processes make unit testing even more attractive to Java developers.
Effective Unit Testing is written to show how to write good tests — tests that are concise and to the point, expressive, useful, and maintainable. Inspired by Roy Osherove's bestselling The Art of Unit Testing , this book focuses on tools and practices specific to the Java world. It introduces you to emerging techniques like behavior-driven development and specification by example, and shows you how to add robust practices into your toolkit.
If you're already doing unit testing, you'll learn the current state of the art, along with the insights and experience of expert author Lasse Koskela. If these practices are new to you, you'll get started on the right foot as you learn to write tests that build on more than a decade of community experience.
WHAT'S INSIDE
A thorough introduction to unit testing
Guidance to using test doubles effectively
Writing tests using dynamic languages
Tips for efficient test automation
Unless otherwise noted above, most orders ship within 1 to 2 days. We will promptly notify you if there is a stock problem with any items on your order and provide you with an estimated delivery date. If you have a firm need by date, please provide such information in the comment section at checkout.
Publisher: Manning
Page Count (est.): 222
ISBN10: 1935182579
ISBN13: 9781935182573
Cover: Paperback
Pub Date: 2/9/2013