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.52  ·  Rating Details ·  144 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

Test Driven Development by Kent BeckThe Pragmatic Programmer by Andrew HuntMastering Regular Expressions by Jeffrey E.F. FriedlThe Mythical Man-Month by Frederick P. Brooks Jr.The Art of Computer Programming, Volume 4, Fascicles 0-4 by Donald Ervin Knuth
Ship It Suggested Reading List
16th out of 30 books — 2 voters
Effective Java Programming Language Guide by Joshua BlochThinking in Java by Bruce EckelJava Concurrency in Practice by Brian GoetzJava Cookbook by Ian F. DarwinJava in a Nutshell by David Flanagan
JAVA
17th out of 19 books — 9 voters


More lists with this book...

Community Reviews

(showing 1-30 of 318)
filter  |  sort: default (?)  |  Rating Details
Anish K George
Feb 29, 2016 Anish K George 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
Kaloyan Roussev
Oct 07, 2016 Kaloyan Roussev rated it it was amazing
Shelves: programming
This book will make you very confident in unit testing for JAVA
Jean Tessier
Oct 02, 2011 Jean Tessier 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
Erika RS
Jan 23, 2013 Erika RS 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
Madhur Ahuja
Apr 03, 2016 Madhur Ahuja 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.
Diego
Jan 29, 2013 Diego 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
Sandys Nunes
Sep 07, 2014 Sandys Nunes rated it really liked it
Shelves: programming
Ótimo livro para iniciantes em testes.
Jonathan
Mar 27, 2009 Jonathan 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.
BookDB
BookDB marked it as to-read
Sep 11, 2016
Leonardo Piedade
Leonardo Piedade marked it as to-read
Aug 15, 2016
Adam Laurenčík
Adam Laurenčík marked it as to-read
Aug 01, 2016
Vasiliy Sushko
Vasiliy Sushko marked it as to-read
Jul 24, 2016
Alexander
Alexander marked it as to-read
Jul 23, 2016
Сергей Кряжов
Сергей Кряжов rated it really liked it
Jul 17, 2016
Pavel Egorov
Pavel Egorov marked it as to-read
Jun 22, 2016
Jake
Jake rated it did not like it
Jun 20, 2016
Modiga Melo
Modiga Melo marked it as to-read
Jun 16, 2016
Laing
Laing marked it as to-read
Jun 09, 2016
Jacinda
Jacinda marked it as to-read
Jun 06, 2016
Jesbel Johnson
Jesbel Johnson marked it as to-read
May 26, 2016
Allan Laal
Allan Laal marked it as to-read
May 22, 2016
Coy Sanders
Coy Sanders rated it it was amazing
May 22, 2016
Oleg Morozenkov
Oleg Morozenkov marked it as to-read
May 19, 2016
Antonio Vidal García
Antonio Vidal García marked it as to-read
May 18, 2016
Mike
Mike marked it as to-read
Apr 28, 2016
Thiago Oliveira
Thiago Oliveira marked it as to-read
Apr 22, 2016
Zlatin Stanimirov
Zlatin Stanimirov rated it it was amazing
Apr 02, 2016
Glen Ritschel
Glen Ritschel marked it as to-read
Mar 05, 2016
Leandro Zis
Leandro Zis rated it really liked it
Feb 29, 2016
« previous 1 3 4 5 6 7 8 9 10 11 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
  • 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