Get Free Tech Books!
Join the DZone Review Team to share your opinion and expertise through published book reviews and Refcardz review discussions. You'll get free tech books and early access to Refcardz.
|This review is based on an incomplete early access version of the book, which had only the first three out of nine chapters available. I think some of the most interesting chapters will fall into the six that are still in the works. Do not read this book if you already read The Art of Unit Testing with Examples in .NET because this is almost an exact word-by-word copy. The only difference is that the .NET and NUnit examples are replaced by Java and JUnit, respectively. The available chapters are simple, filled with good detail, and offer a great introduction into unit testing.|
The aim of this book is to give an introduction to Java developers who have little or no experience with unit testing. The author does a sound job of covering the basic principals of unit testing. The pretension also seems to be to answer why unit testing is necessary and how it is integrated into teams and projects. The author clearly aims to see beyond the backyard.
This book would be helpful for introducing unit testing practices to teams and projects that are not yet using unit testing. Experienced developers could do without part 1 and 2 (the first 5 chapters) of this book. Based on the table of contents, they would only benefit from part 3 and the appendices, since that is where there will be any advanced coverage.
Other unit testing frameworks that are very relevant to Java development are not mentioned in these first three chapters and it is unclear to me whether or not they will be covered. Here is table of contents from the book's website:
Part I - Getting started
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)