JUnit Pocket Guide

JUnit Pocket Guide
Authors
Kent Beck
ISBN
0596007434
Published
01 Sep 2004
Purchase online
amazon.com

JUnit, created by Kent Beck and Erich Gamma, is an open source framework for test-driven development in any Java-based code. JUnit automates unit testing and reduces the effort required to frequently test code while developing it. While there are lots of bits of documentation all over the place, there isn't a go-to-manual that serves as a quick reference for JUnit.

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

Customer Reviews

Joshua M. Ginn said
The philosophies in this book will help me get more out of life.
I have wanted to learn JUnit for several months now. The techniques in this book will help me write better code and think more clearly in many planning and development aspects in life.

Doug Bell said
I got "JUnit Pocket Guide" along with "JUnit in Action" and "JUnit Recipes". I figured I should have Beck's book since he's the father of JUnit and a major force in test-driven development. I figured I'd get a concise explanation of JUint and be able to use the book as a reference.

While the book more or less meets those goals, the writing is terse and mostly fails to provide the illuminating insights I was hoping for. I was also disappointed that the book is not well-structured to use as a reference, and is somewhat out of date with JUnit 4.x at this point. After reading this I moved on to "JUnit in Action", which I highly recommend.

Overall, I'm not disappointed that I got the book given the reasonable price and minimal investment in time reading it. It does serve as a quick introduction to and motivation for using JUnit. However, if you intend to put JUnit into practice, you can easily skip this book and go directly to one of the many excellent and more comprehensive books on JUnit--this book won't be enough and offers nothing indispensable.

Jack D. Herrington said
This is a short and sweet end-to-end introduction to JUnit. The text is pretty terse and there are a surprising number of a screenshots for a book so small. The book starts with an introduction to testing. It then gives a high level architectural overview of JUnit, along with it's API. There is a short digression into the history of the framework. Then it's into putting a front-end on the tests both on the command line and embedded into IDEs.

E. Wuehler said
Quick disclosure - I'm a big fan of JUnit already. :) Anything that will convince java developers to use JUnit is a good thing. JUnit is as powerful as it is simple. To prove it, everything you need to know about JUnit is in this 80 page pocket guide. If you are a Java programmer, this pocket guide will easily convince you to add JUnit to your daily development processes. It covers the entire JUnit API, using JUnit with Ant, Extending JUnit, and plenty of suggestions on how to test various situations with JUnit.

I liked the descriptions on how to run JUnit standalone or within various IDEs (Eclipse, JBuilder and IntelliJ IDEA). I have been working with JUnit in Eclipse for quite some time and recently started a project using IntelliJ IDEA - so it helped me get JUnit going quickly. I also found the short history on JUnit interesting as well.

Whether you're new to Java development or just haven't used JUnit yet, this is the perfect pocket guide to help you get started.

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.

“Every language has an optimization operator. In C++ that operator is ‘//’”