small medium large xlarge

Errata for Pragmatic Unit Testing in Java with JUnit

 

The latest version of the book is P7.0, released about 6 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P7.0 (03-Jun-10)
#43541
PDF page: 1

"prepared exclusively for Ren" misses the mark - I do not know Ren.--Rene V. Jansen

  • Reported in: P7.0 (19-Feb-11)
#46421
PDF page: 29

...don't want TO TO include that...--denis clot

  • Reported in: P4.0 (19-Mar-14)
#76542
Paper page: 33
says: "It is usually a good idea to start off a new project by always inheriting from your own custom base class instead of the JUnit class" This s...more...
  • Reported in: P7.0 (23-Apr-11)
#46928
Paper page: 53
In the description of the invariant for the MyStack class the authors write "However we manipulate the index variable next_index, one thing is suppose...more...

Stuff To Be Considered in the Next Edition

  • Reported in: P4.0 (12-Sep-06)
#25897
Paper page: 76
I was doing exercize 7 on page 76 and found that the tests do not cover pause. In fact, I left pause unimplemented and the tests pass. I suggest addin...more...