JUnit in Action
by Vincent Massol; Ted Husted
Ant in Action: Java Development with Ant, Second Edition
by Steve Loughran; Erik Hatcher
Head First Java, 2nd Edition
by Kathy Sierra; Bert Bates
Head First Design Patterns
by Eric Freeman; Elisabeth Robson; Kathy Sierra; Bert Bates
Effective Java™, Second Edition
by Joshua Bloch
Java Concurrency in Practice
by Brian Goetz; Tim Peierls; Joshua Bloch; Joseph Bowbeer; David Holmes; Doug Lea
When testing becomes a developer's habit good things tend to
happen--good productivity, good code, and good job satisfaction. If
you want some of that, there's no better way to start your testing
habit, nor to continue feeding it, than with JUnit Recipes.
In this book you will find one hundred and thirty-seven solutions
to a range of problems, from simple to complex, selected for you by
an experienced developer and master tester. Each recipe follows the
same organization giving you the problem and its background before
discussing your options in solving it.
JUnit – the unit testing framework for Java – is simple
to use, but some code can be tricky to test. When you're facing
such code you will be glad to have this book. It is a how-to
reference full of practical advice on all issues of testing, from
how to name your test case classes to how to test complicated J2EE
applications. Its valuable advice includes side matters that can
have a big payoff, like how to organize your test data or how to
manage expensive test resources.
What's Inside:
- Getting started with JUnit
- Recipes for:
servlets
JSPs
EJBs
Database code
much more
- Difficult-to-test designs, and how to fix them
- How testing saves time
- Choose a JUnit extension:
HTMLUnit
XMLUnit
ServletUnit
EasyMock
and more!
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 22 Ratings
Uses JUnit 3.8 - dated material - 2009-05-31
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is a good book. It was very important when it came out. It is dated however and we need a new book on the subject since JUnit is up to version 4.6 as of this writing. Following examples from this book from the start you would want JUnit 3.8 to avoid the confusion. Then you would have to learn the differences between 3.8 and 4.6 which are substantial. Where have all the programmers gone? Books use to be up to date, now we are stuck with many 5 year old books with reviews from 2004. This does not keep programmers informed and secure in their jobs. Time for a new updated edition on this one to make it truly useful.
Excellent coverage of advanced unit testing - 2006-01-18
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Rainsberger does a very good job of detailing the techniques to unit test difficult code; including xml, ejb, servlets, jsps etc.
More than just recipes - 2007-10-09
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is a readable, practical, and deep book. It's one of those books which teaches or refreshes Java and OO theory and practice as you read. I am also reading it for pleasure!
The Best Programming Book I know - 2007-03-08
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is a great book. It is directed at users of JUnit, the Java unit testing framework. But in my mind the book gives sound advice for solving your programming problems in general, not just for Java or JUnit testing. It stresses the importance of unit testing, programming to interfaces instead of implementations and just simple common sense. The author is clearly passionate about his field and extremely experiences. The combination of enthusiasm and experience comes through on every page.
Straightforward informative, all stuff, no stuffing - 2008-11-13
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is the JUnit book for you if you're looking into JUnit and basically get the idea - there's frameworks out there which will run tests that you write and JUnit is one of them- but don't know much more. It gets straight to the point and pretty quickly takes you from the no-nothing state to being able to using JUnit. At least, it did that in my case.
In a nutshell, this book will get you testing fast so you can move on and think about other, more interesting things.
All stuff, no stuffing, easy to read, well edited, well indexed, no time wasting exposition, what else do you want?
Example code has Manning's "numbered dot" technique whereby they highlight POI right in the code using footnotes that look like big black dots with numbers inside them, with accompanying text a little further down, a feature I find helpful.
Most technical publishers try hard to make their books worth the money they ask: Wiley , O'Reilly , Manning and Apress come to mind right away. This book is a good one from Manning and a good example of why Manning is a great niche publisher.
Top Level Categories:
Programming
Software Engineering
Sub-Categories:
Programming > Java
Software Engineering > Testing and Debugging
Some information on this page was provided using data from Amazon.com®. View at Amazon >