Monday, March 03, 2009

Free ebook download: JUnit In Action .pdf

Title: JUnit In Action
Author: Vincent Massol, Ted Husted
Format: PDF
Publisher: Manning

JUnit in Action is an example-driven, how-to book on unit-testing Java applications,
including J2EE applications, using the JUnit framework and its extensions. This
book is intended for readers who are software architects, developers, members of
testing teams, development managers, extreme programmers, or anyone practic-
ing any agile methodology.
 JUnit in Action is about solving tough real-world problems such as unit-testing
legacy applications, writing real tests for real objects, employing test metrics, auto-
mating tests, testing in isolation, and more.

Special features
Several special features appear throughout the book.

Best practices
The JUnit community has already adopted several best practices. When these are
introduced in the book, a callout box summarizes the best practice.

Design patterns in action
The JUnit framework puts several well-known design patterns to work. When we
first discuss a component that makes good use of a design pattern, a callout box
defines the pattern and points out its use in the JUnit framework.

Software directory
Throughout the book, we cover how to use extensions and tools with JUnit. For
your convenience, references to all of these software packages have been col-
lected in a directory in the references section at the end of this book. A bibliogra-
phy of other books we mention is also provided in the references section.

Roadmap
The book is divided into three parts. Part 1 is “JUnit distilled.” Here, we introduce
you to unit testing in general and JUnit in particular. Part 2, “Testing strategies,”
investigates different ways of testing the complex objects found in professional
applications. Part 3, “Testing components,” explores strategies for testing com-
mon subsystems like servlets, filters, JavaServer Pages, databases, and even EJBs.

Download the book: JUnit In Action.pdf

Tags: ebook, pdf, java, junit, test