Errata for Pragmatic Unit Testing in C# with NUnit
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.
| 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 |
||
| 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
|
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 |
||
| 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
|
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 |
