small medium large xlarge

The latest version of the book is P3.0, released over 5 years ago. If you've bought a PDF of the book and would like to update 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 (05-Jul-19)
PDF page: xx

At the top of the page, "heros" should be "heroes".--August Janse

  • Reported in: P3.0 (13-Jan-16)
PDF page: 15


  • Reported in: P3.0 (23-Feb-18)
Paper page: 24?
"Location 298 of 10301" in the Kindle book -- The "Online Resources" URL for Unity ( is no longer valid. (Not your problem ...more...
  • Reported in: P2.0 (11-Sep-14)
Paper page: 24
At bottom of page, 'This lets you get very precise about which test cases are running'. Seem you forgot the noun following 'very precise'. Completing ...more...
  • Reported in: P3.0 (31-Aug-16)
PDF page: 25
ghenry@ghenry-work:~/src/testing_c/code$ make -f compiling MockIOTest.cpp In file included from <command-line>:0:0: /home/ghen...more...
  • Reported in: P1.0 (17-Sep-19)
Paper page: 50
When I'm doing the third step from the section "Where are we?" in chapter "Test-Driving Tools and Conventions: make -f Shel...more...
  • Reported in: P1.0 (26-May-18)
PDF page: 61
Text uses variables ledAddress and ledsAddress but no such names are define in code so far, there is only address loacal variable of funcion LedDriver...more...
  • Reported in: P3.0 (30-Nov-16)
Paper page: 72-73
The output of unity that's displayed on page 72 is incorrect. It should print 15 tests instead of 16. The OutOfBoundsLedsAreAlwaysOff test at the top...more...
  • Reported in: P1.0 (22-Dec-19)
PDF page: 81

TEST(LedDriver, TurnOnMultipleLeds)

must be

TEST(LedDriver, LedMemoryIsNotReadable)

  • Reported in: P1.0 (12-Mar-17)
PDF page: 93
static void setLedImageBit(int ledNumber) Will never work. Although ledNumber is changed in the function, this will not get out of the function.--ild...more...
  • Reported in: P3.0 (14-Dec-17)
PDF page: 109
The first sentence of the second paragraph says: "Collaborators can get in the way when is it hard to control their behavior." It should say "Collabo...more...
  • Reported in: P3.0 (14-Dec-17)
PDF page: 114

The explanation of what a Test Dummy is misspells 'compiler' as 'complier'

  • Reported in: P1.0 (11-Feb-16)
Paper page: 137
tests/HomeAutomation/LightControllerSpy.c #includes "LightController.h". Shouldn't it #include "LightControllerSpy.h" so it can pick up the declaratio...more...
  • Reported in: P3.0 (26-Nov-18)
Paper page: 153
Second last paragraph on page "When calls to FormatOutput() have been overridden with FormatOutputSpy(), the output can be accessed by a call to Forma...more...
  • Reported in: P3.0 (26-Oct-14)
PDF page: 179
In the discussion about clocks roll over, since the timer has a microsecond tick period, a 32-bit counter register would roll over after a bit more th...more...
  • Reported in: P3.0 (26-Jun-19)
PDF page: 182
Paper page: 165

In figure 20 <<interface> should be <<interface>>

  • Reported in: P2.0 (24-Jul-13)
PDF page: 293
MinGW and cygwin issues with the eclispe files. Here is the fix: 1) Deleted all the .project, .cproject, .cdtproject and .settings (this is a did) ...more...
  • Reported in: B11.0 (06-Feb-16)
Paper page: 312
Environment: Windows 10, Cygwin installed February 6th 2016 as described on page 312 downloaded README.txt instructions followed ...more...
  • Reported in: P3.0 (06-Feb-16)
Paper page: 312
In order to fix the build for SandBox and on a Windows 10 / Cygwin 64 bit system do the following: from code\unity.framework\extra...more...