We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.1, released about 1 year 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.

Key: Typo Tech. Error Suggestion Not a problem Next edition

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

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
10
#30332: First line of the page marked on the page as page 10 says: "... until then it will definitely longer ..." and should probably say: ...more...
P1.0
06-Jan-08
39

#33945: The line "Is.AtMost() is just an alias for Is.LessThenOrEqualTo()," should be "Is.AtMost() is just an alias for Is.LessThanOrEqualTo(),"--Miquel

P1.1
12-Aug-08
51
#29785: This is regarding the paragraph that begins with "In this example, the method PerFixtureTest will be called .....". I believe that the content...more...
P1.0
24-Oct-07
53
#36590: First line on page 53: Assert.That(actualCollection, List.Contains(expectedValue) Suggestion: use Has.Member in NUnit 2.4.2 instead of the...more...
P1.0
24-Dec-08
105

#31756: "Sometimes the controller is told directly and in NUnit's mocks" - "and" should be "as". (1st paragraph)--Bill Sorensen

P1.0
26-Apr-08
124
#36065: "Code analysis tools and mutation testers can help close this gap, which we’ll discuss in Chapter 7." is written within chapter 7 itself. N...more...
P1.1
22-Nov-08
138
#31610: On p. 138 of your book, you mention the issue of accessing internal members when test code is in a separate assembly. There is another option:...more...
P1.1
07-Apr-08
151

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

P1.0
26-Apr-08
164

#31757: In the SaveAndRestore test, it might be a better example if it were refactored so that the tests did not use file I/O.--Bill Sorensen

P1.0
26-Apr-08
164

#31758: In the SaveAndRestore test, it might be a better example if it were refactored so that the tests did not use file I/O.--Bill Sorensen

P1.0
26-Apr-08
167
#39276: Summary: The code for the method createRecipe is flawed, and will not record information past the INGREDIENTS_TOKEN line of the lines ICollec...more...
P1.1
29-May-09
179
#31754: The line new RecipieForm(recipe as Recipe); does not look right. recipe is type FakeRecipeFile, which is a RecipeFile (and would not need...more...
P1.0
26-Apr-08
180

#31755: For the line
ExpectModal(PASSWORD_FAILURE, "PasswordFailureOkHandler");
shouldn't that be
ExpectModal(PASSWORD_FAILURE, "MessageBoxOkHandler");
?--Bill Sorensen

P1.0
26-Apr-08
201
#31751: The NullableInt example won't compile due to unassigned variables. In any case the advice is incorrect - Nullable types with null values do eq...more...
P1.0
26-Apr-08