Praise for the First Edition

The definitive how-to manual for unit testing Java EE components. Pick up one of the other books if you’re looking for something more motivational, but when you’re ready to sit down and bang out some code, you’ll want this book at your side.

I would definitely recommend JUnit in Action for anyone interested in testing their code.... It is a book that flows nicely, and offers a great mix of technology theory and how to put it all into practice.

An essential guide for intermediate level Java programmers who want to learn how to build Java EE applications properly...clear, simple and fun...the best I have seen thus far.... The book actually goes into detail about using mock objects ...

Get JUnit in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.