small medium large xlarge

Errata for Pragmatic Unit Testing in C# with NUnit (2nd edition)


The latest version of the book is P2.0, released almost 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.

No known errata.

Stuff To Be Considered in the Next Edition

  • Reported in: P1.0 (24-Oct-07)
PDF page: 51
This is regarding the paragraph that begins with "In this example, the method PerFixtureTest will be called .....". I believe that the contention of t...more...
  • Reported in: P1.0 (26-Apr-08)
Paper page: 151

The line
DatabaseConnection dbc = new DatabaseConnection();
should be above the try block.--Bill Sorensen

  • Reported in: P1.1 (29-May-09)
Paper page: 167
Summary: The code for the method createRecipe is flawed, and will not record information past the INGREDIENTS_TOKEN line of the lines ICollection int...more...
  • Reported in: P1.0 (26-Apr-08)
Paper page: 179
The line new RecipieForm(recipe as Recipe); does not look right. recipe is type FakeRecipeFile, which is a RecipeFile (and would not need an as c...more...
  • Reported in: P1.0 (26-Apr-08)
Paper page: 201
The NullableInt example won't compile due to unassigned variables. In any case the advice is incorrect - Nullable types with null values do equate to ...more...
  • Reported in: P1.1 (13-Jul-09)
Paper page: 201
I have found an error in the book and I want to report it. The error is slight but I consider it worth mentioning. On page 201, Appendix A, A.10 - ...more...