Manning Early
Access Program
Unit Testing in Java
EARLY ACCESS EDITION

Lasse Koskela

MEAP Began: October 2009
Softbound print: April 2012 (est.) | 350 pages
ISBN: 9781935182573

Pre-Order options*
Order today and start reading Unit Testing in Java today through MEAP        
  MEAP + Ebook only - $31.99
  MEAP + Print book (includes Ebook) when available - $39.99
* For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates    

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
Part 1 Foundations
  1. The Promise of Good Tests - FREE
  2. In Search of Good - AVAILABLE
  3. Test Doubles - AVAILABLE

Part 2 Patterns
  4. Readability - AVAILABLE
  5. Maintainability - AVAILABLE
  6. Trustworthiness - AVAILABLE

Part 3 Diversions
  7. Testable Design - AVAILABLE
  8. Writing tests in other JVM languages - AVAILABLE
  9. Speeding up test execution - AVAILABLE
 

DESCRIPTION

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.

Unit Testing in Java 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

About the Authors

Lasse Koskela is a coach, trainer, consultant and programmer. He hacks on open source projects, moderates discussions at JavaRanch, and writes about software development. A pioneer of the Finnish agile community, Lasse speaks frequently at international conferences. He's the author of Test Driven, also published by Manning.

WHAT REVIEWERS ARE SAYING

“The text gives good coverage on the topics that it has introduced so far and explains the basics well. I am especially pleased with the dependency injection introduction in the third chapter since I find it to be a very important topic both for testing and good design.”
Pavel Rozenblioum, Dzone, 7/20/2010

About the Early Access Version

This Early Access version of Unit Testing in Java enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online

Want to learn More?

Sign up to read more content when it is released and to receive news about this book.