JUnit Recipes: Practical Methods for Programmer Testing

JUnit Recipes: Practical Methods for Programmer Testing
Authors
J. B. Rainsberger
ISBN
1932394230
Published
15 Jul 2004
Purchase online
amazon.com

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.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

grandpiano_57 said
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.

mathboy said
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.






Malcolm Gorman said
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!

catawampus said
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.

Barry said
Rainsberger does a very good job of detailing the techniques to unit test difficult code; including xml, ejb, servlets, jsps etc.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson