JUnit in Action, Second Edition
Petar Tahchiev, Felipe Leme, Vincent Massol, and Gary Gregory
  • June 2010
  • ISBN 9781935182023
  • 504 pages
  • printed in black & white

The definitive guide, not just for JUnit, but unit testing in general.

Tyson S. Maxwell, Raytheon

JUnit is the leading Java unit testing framework and its version 4.8 significantly improves the Java development process. Designed for productivity, it has extensions for newer application styles—like Ajax and HTML-based presentation layers—and for application frameworks like EJB and OSGi.

JUnit in Action, Second Edition is an entirely revised and up-to-date guide to unit testing Java applications. It provides techniques for solving real-world problems such as using mocks for testing isolation, in-container testing for Java EE and database applications, and test automation. In an example-driven style, it covers JUnit 4.8 innovations such as the new annotations that simplify test writing, improved exception handling, and the new assertion methods. Along the way, you'll learn to integrate JUnit with other important open source frameworks and tools.

About the Technology

JUnit is the leading Java unit testing framework and its version 4.8 significantly improves the Java development process. Designed for productivity, it has extensions for newer application styles—like Ajax and HTML-based presentation layers—and for application frameworks like EJB and OSGi.

About the book

JUnit in Action, Second Edition is an entirely revised and up-to-date guide to unit testing Java applications. It provides techniques for solving real-world problems such as using mocks for testing isolation, in-container testing for Java EE and database applications, and test automation. In an example-driven style, it covers JUnit 4.8 innovations such as the new annotations that simplify test writing, improved exception handling, and the new assertion methods. Along the way, you'll learn to integrate JUnit with other important open source frameworks and tools.

What's inside

  • Introduction to unit testing
  • Blends JUnit with TDD, BDD, Continuous Integration, and other best practices
  • Unit testing of database and web applications

About the authors

Petar Tahchiev is a software engineer with HP and the Jakarta Cactus lead developer. Felipe Leme is a JCP member and contributor to DbUnit and Cactus. Gary Gregory is a Java developer with 20+ years of experience who currently develops application servers for legacy integration. Vincent Massol was the author of the first edition of JUnit in Action.


placing your order...

Don't refresh or navigate away from the page.
customers also bought
customers also reading

This book

FREE domestic shipping on three or more pBooks

RECENTLY VIEWED