aspose file tools*
The moose likes Book Reviews and the fly likes Unit Testing in Java by Johannes Link, Peter Fr�hlich Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Books » Book Reviews
Bookmark "Unit Testing in Java by Johannes Link, Peter Fr�hlich" Watch "Unit Testing in Java by Johannes Link, Peter Fr�hlich" New topic
Author

Unit Testing in Java by Johannes Link, Peter Fr�hlich

Book Review Team
Bartender

Joined: Feb 15, 2002
Posts: 943
<pre>Author/s : Johannes Link, Peter Fr�hlich
Publisher : Morgan Kaufmann
Category : Miscellaneous Java
Review by : Frank Carver
Rating : 9 horseshoes
</pre>
This book starts by covering general techniques in unit testing, including when and why to do it, how to know if you are doing it right, and how it integrates with other development practices. This is good stuff, but mostly also covered in other books. The section on Mock Objects is especially well done though, illuminating an often misunderstood topic area.
The latter half is where this book shines. It tackles some of the really tough areas and does it very well. Singletons, database persistence, asynchronous services, concurrent and distributed systems, web applications and graphical user interfaces; all these are often skipped over as "too hard to test". If you've ever found yourself thinking something like that, you need this book.
This book is a translation from a German original. Although the translators have done a tremendous job with the technical content, sometimes a phrase or section title, especially in the initial introduction can seem very unusual. Don't be put off by the quirky language in the early chapters, the meat of the book is well worth reading and putting into practice. This book is a masterly example of how to convert programming theory into solid, practical advice.
</review>


More info at Amazon.com
More info at Amazon.co.uk
Book Review Team
Bartender

Joined: Feb 15, 2002
Posts: 943
<pre>Author/s : Johannes Link, Peter Frehlich
Publisher : Morgan Kaufmann
Category : Miscellaneous Java
Review by : Jason Menard
Rating : 8 horseshoes
</pre>
Johannes Link's "Unit Testing in Java: How Tests Drive the Code" bills itself as "a practical introduction to unit testing for software developers." Link's book is very comprehensive and touches on most of the topics a developer will need to know about before setting off on his own, including some topics that have not been addressed in similar titles.
The first half of the book addresses basic techniques for unit testing. The author is a proponent of eXtreme Programming and test-driven design, and those concepts are explored as they relate to unit testing. This first part of the book is quite exhaustive and contains in great detail pretty much everything you would expect. One pleasant surprise here was a nice chapter on inheritance and polymorphism as it relates to unit testing. Link offers some excellent advice on this rarely addressed topic.
Once you've mastered the basic techniques, Link kicks it up a notch and addresses some more advanced topics relevant to our day-to-day lives as Java developers. The book discusses unit testing persistent objects, web applications, and GUIs, as well as rarely examined topics such as concurrent programs and distributed applications. As if that weren't enough, Link throws in an outstanding chapter on the role of unit tests in the software process which is necessary reading if you are attempting to integrate the book's practices into your own organization.
"Unit Testing in Java" isn't an overly large book, but it is certainly a dense book. The tone is academic and some of the phrasing is awkward, although it should be kept in mind that it is a translation from German. I like to think of "Unit Testing in Java" more as a text to be studied, rather than as a reference. However, there is so much that is good in here, that it is definitely worth the effort spent reading it.


More info at Amazon.com
More info at Amazon.co.uk
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unit Testing in Java by Johannes Link, Peter Fr�hlich