Goodreads helps you keep track of books you want to read.
Start by marking “Pragmatic Unit Testing in Java with JUnit” as Want to Read:
Pragmatic Unit Testing in Java with JUnit
Enlarge cover
Rate this book
Clear rating
Open Preview

Pragmatic Unit Testing in Java with JUnit

by
3.53  ·  Rating details ·  152 Ratings  ·  9 Reviews
Learn how to improve your Java coding skills using unit testing. Despite it's name, unit testing is really a coding technique, not a testing technique. Unit testing is done by programmers, for programmers. It's primarily for our benefit: we get improved confidence in our code, better ability to make deadlines, less time spent in the debugger, and less time beating on the c ...more
Paperback, 176 pages
Published September 8th 2003 by Pragmatic Bookshelf (first published September 2003)
More Details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Pragmatic Unit Testing in Java with JUnit, please sign up.

Be the first to ask a question about Pragmatic Unit Testing in Java with JUnit

Community Reviews

(showing 1-30)
filter  |  sort: default (?)  |  Rating Details
Anish K George
Feb 29, 2016 rated it it was ok
It is good book for the very basics. For a junior developer, who is starting to write programs, reading this book will help to create a correct perspective towards unit testing.

But if you are experienced successful programmer already I would suggest to avoid this book, since this book is seems to contain very old principles and lacking the information about the latest tools or frameworks for Unit testing
Erika RS
Jan 23, 2013 rated it liked it
Pragmatic Unit Testing is a book about testing for developers. The content is appropriate for developers who do not have much experience testing and for developers who do unit test their code but do not have formal training in testing.

The book describes the purpose of unit tests, how to write them, and what makes a good unit test. They give lots of examples to help developers figure out what kind of things are good to test and how to test them. Although a lot of the information can be found in g
...more
Jean Tessier
Oct 02, 2011 added it
Shelves: software
Very good intro to unit testing. Talks at great length about the need for tests and the advantages of designing for testability. It has a very nice tutorial on using JUnit and even briefly mentions the use of mock objects.

It is filled with very good pieces of advice. Many of them are arranged into catchy mnemonics. But they often feel forced and some are so long that it becomes hard to recall what they stand for. This reminded me of a similar device that I keep hearing: DRY - Don't Repeat Yourse
...more
David Workman
A worthwhile read for someone looking for a solid introduction to both JUnit and unit testing in general.

This book focuses on practicalities, giving a solid basis and solid reasons for unit testing as a development practice. It makes it clear that unit testing should not be the only form of testing, but should be the lowest foundation upon which a solid testing plan is built.

The text is interspersed with examples and exercises for the reader to complete and appendixes provide a guide to installi
...more
Diego
Jan 25, 2013 rated it really liked it
Este libro pertenece a una serie de títulos en donde se van exponiendo varias herramientas de programación; en este tomo, se revisa JUnit que es un framework de pruebas para Java.

Además de mostrar de manera concisa cómo se usa JUnit, se exponen varios consejos y aspectos del testing; de hecho, la mayor parte del libro trata de eso. En algunas partes, se pierde la continuidad de la exposición debido a la revisión de los argumentos, aunque nada grave si se vuelve al punto de partida del tema visto
...more
Jonathan
Mar 27, 2009 rated it liked it
Shelves: 2007
This book is another great book from the pragmatic programmers to help people get started with unit tests using junit. If you are already familiar with junit and writing unit tests, then there are a few tidbits of good information. This book is definitly more for beginners.
Kaloyan Roussev
Oct 07, 2016 rated it it was amazing
Shelves: programming
This book will make you very confident in unit testing for JAVA
Madhur Ahuja
Apr 03, 2016 rated it liked it
Verify short book on Java unit testing. Suitable for juniors and college goers. Doesn't contain advanced material such as how to mock database, network calls.
Raghuram
rated it really liked it
Apr 18, 2013
Lars Cronsioe
rated it really liked it
Dec 03, 2012
Arek Trzepacz
rated it liked it
Dec 11, 2014
Fabrício Lemos
rated it liked it
Aug 25, 2011
Ilinca
rated it really liked it
Jul 27, 2012
Karl Stainke
rated it it was amazing
Mar 24, 2011
Joe Kueser
rated it it was amazing
Oct 19, 2014
Rob
rated it it was ok
Sep 16, 2009
Piotr
rated it it was ok
Jun 18, 2008
Benjamin
rated it it was ok
Nov 21, 2013
Nick
rated it really liked it
Oct 06, 2009
Bugzmanov
rated it liked it
Dec 18, 2011
John
rated it it was ok
Nov 27, 2012
Сергей Кряжов
rated it really liked it
Jul 17, 2016
Robert
rated it really liked it
Mar 02, 2009
Mohamed Foly
rated it really liked it
Sep 10, 2011
Kevin McDonagh
rated it liked it
Jan 06, 2011
Ariel Swingley
rated it it was amazing
Jul 23, 2014
Tory S. Anderson
rated it liked it
Apr 12, 2013
Leandro Zis
rated it really liked it
Feb 29, 2016
Mehar Svln
rated it really liked it
Dec 04, 2015
Stavenvanderbilt
rated it it was amazing
May 18, 2017
« previous 1 3 4 5 6 next »
There are no discussion topics on this book yet. Be the first to start one »
  • Pragmatic Project Automation
  • Ship It!
  • Spring in Action
  • Pragmatic Version Control: Using Subversion (The Pragmatic Starter Kit Series)
  • JUnit in Action
  • Pragmatic Unit Testing in C# with Nunit
  • Specification by Example
  • Practices of an Agile Developer: Working in the Real World
  • Grails in Action
  • Scaling Software Agility: Best Practices for Large Enterprises
  • Groovy in Action
  • Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
  • The Cucumber Book
  • Pragmatic Version Control Using Git
  • Agile Software Development, Principles, Patterns, and Practices (Alan Apt Series)
  • Effective Java Programming Language Guide
  • xUnit Test Patterns: Refactoring Test Code
  • Agile Software Development with Scrum

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Andy Hunt is a programmer turned consultant, author and publisher.
see also Andy Hunt

Librarian's note: There is more than one author in the Goodreads database with this name.
More about Andrew Hunt...

Share This Book