JUnit in Action, Second Edition you own this product

Petar Tahchiev, Felipe Leme, Vincent Massol, and Gary Gregory
  • June 2010
  • ISBN 9781935182023
  • 504 pages
  • printed in black & white
  • Available translations: Korean

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

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.

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

Tyson S. Maxwell, Raytheon

I recommend this book to anyone who is serious about testing with JUnit.

Robert Hanson, Author of GWT in Action

Gives a solid foundation for unit testing, especially with Ant/Maven and Eclipse.

Doug Warren, Java Web Services

This book shows how to test it all--leaves no stone unturned.

John Griffin, Coauthor of Hibernate Search in Action