S'ware Metrics Home

Book Store PMP Books PDAs
S'ware Metrics Six Sigma LCD Monitors
Requirements Management PMBOK Books
Team Building Use Case DVD Players

JUnit Recipes: Practical Methods for Programmer Testing


JUnit Recipes: Practical Methods for Programmer Testing

JUnit Recipes: Practical Methods for Programmer Testing

List Price: $49.95
Our Price:

Click here for variations on size and color. This item may also be out of stock or only available as used or new through a 3rd party reseller. Click here for more details.

Availability:


Manufacturer: Manning Publications
Author: J. B. Rainsberger
Binding: Paperback
Publication Date: 2004-07-15
Publisher: Manning Publications
Label: Manning Publications
Number Of Pages: 752
Features:


Editorial Review:
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!

Cached date: AWS Called=true

You may also be interested in these products:
JUnit in Action
JUnit in Action
Spring in Action
Spring in Action
Java Persistence with Hibernate
Java Persistence with Hibernate
Test Driven: TDD and Acceptance TDD for Java Developers
Test Driven: TDD and Acceptance TDD for Java Developers
Pragmatic Unit Testing in Java with JUnit
Pragmatic Unit Testing in Java with JUnit


These categories may also be of interest to you:


Customer Reviews
Average Customer Rating: 5.0

Straightforward informative, all stuff, no stuffing 2008-11-13
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.









More than just recipes 2007-10-09
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
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.


Excellent coverage of advanced unit testing 2006-01-18
Rainsberger does a very good job of detailing the techniques to unit test difficult code; including xml, ejb, servlets, jsps etc.


Put this next to Knuth and The Gang of Four on your bookshelf 2005-12-30
This isn't necessarily the best introduction for absolute beginners (I would recommend /Pragmatic Unit Testing/ for that), but it is required reading for server-side Java, as most other reviewers have pointed out. But it's more than that--it's one of those rare computer books that transcends its subject matter. Why? Because it can make you a better programmer. While some of the credit can rightly be given to unit testing and Test-Driven Development in general, Rainsberger's book makes you /see/ better ways to write and refactor your code. The breadth and depth of examples is astonishing--he convincingly shatters "but it's too hard to test that" arguments with well-researched, non-trivial examples. In fact, I'd say that this is almost a better J2EE tutorial than most books about J2EE proper.

I'm withholding a star for one reason: the book doesn't cover GUI testing tools like Jemmy, JFCUnit, or Abbot/Costello. These JUnit extensions are ripe for a book with this depth; it's just too bad that this couldn't be that book. Other than that, I find that I turn to Rainsberger's book far more often than any other testing book or online reference.