small medium large xlarge

Errata for Pragmatic Unit Testing in C# with NUnit


The latest version of the book is P3.0, released about 10 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: P3.0 (12-Apr-06)
Paper page: 15

line 13 in Largest.CS "max=Int32.MaxValue" declaring something this large would never allow the test test array {8, 9, 7} to output 9 when run.--L.Luc

  • Reported in: P3.0 (06-Jul-06)
PDF page: 28

"For for the rest of this book" has one "for" too many.--Ian Piper

  • Reported in: P2.0 (22-Jan-06)
Paper page: 91
The source code has the title 'TestMailer.cs' and is indeed about testing a mailer. But the class is called 'TestCalculator' and the method 'AgeCalcul...more...