small medium large xlarge

The latest version of the book is P1.0, released almost 3 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: B6.0 (01-Feb-15)
#78134
PDF page: 7
Where : In the first example of acceptance test, Scenario#2 (Duplicate email) What : 1. The description says "Where someone tries to create..."...more...
  • Reported in: B6.0 (01-Feb-15)
#78135
PDF page: 11
Where: Chapter 2, section "Understanding Our Goal", paragraph 2. What: The paragraph says : "We have an incredible vision of what this checkout wil...more...
  • Reported in: P1.0 (29-Aug-17)
#81998
PDF page: 13
Not possible to execute cucumber as described: -rwxrw-r-- 1 ejner ejner 335723 Aug 29 22:41 cucumber-core-2.0.0.jar* -rwxrw-r-- 1 ejner ejner 3004...more...
  • Reported in: P1.0 (30-Aug-17)
#82002
PDF page: 13
There is a project on GitHub cucumber/cucumber-java-skeleton which worked for me, by running build.xml, instead of the instructions in the book...more...
  • Reported in: P1.0 (03-Jun-17)
#81634
PDF page: 20
The link for footnote #3 goes to Pragmatic Bookshelf site with "No title for 'sjrcuc'." error. Link should be "srjcuc" instead of "sjrcuc" ('r' and ...more...
  • Reported in: P1.0 (23-Mar-15)
#78273
PDF page: 29
Paper page: 11
The footnote for installing the cucumber jvm now points to a dead link. Going to the link at the bottom of the page that I cannot include here redirec...more...
  • Reported in: B5.0 (11-Dec-14)
#77915
PDF page: 47
in order to have maven execute the tests, I found I needed to add a small Java class like the code below; you mention it later but I think you need it...more...
Seb Rose says: A class like that is only needed to run the tests via JUnit. This part of the book is using Cucumber's CLI to find & execute the scenarios, so this class is not needed.... yet. We need it when we start using Maven/Junit in a few chapters time
  • Reported in: P1.0 (18-Dec-15)
#79354
PDF page: 49
In nearly every sample project that I build using maven, I get an error "annotations are not supported in -source 1.3". The error is always solved by ...more...
  • Reported in: P1.0 (16-Mar-15)
#78257
Paper page: 53
In the Character Classes section, the first code sample contains \\$([01234567890]*) as the regex. I don't believe you need the 0 at the start and the...more...
  • Reported in: P1.0 (06-Jan-17)
#81045
PDF page: 56
First paragraph reads "That word is then passed to the method we named accountType in the second argument." I believe you mean "That word is then pas...more...
  • Reported in: P1.0 (24-Jun-15)
#78536
PDF page: 90
Page 89 states to generate step definition snippets and paste them into step_definitions/BoardSteps.java however pdf page 90 lists the file path as ...more...
  • Reported in: P1.0 (06-May-15)
#78411
Paper page: 130
At the top of the page, it says: @When("^I withdraw \\$(\\d+)$") public void iWithdraw$(int dollars) throws Throwable { Teller teller = n...more...
  • Reported in: P1.0 (14-Apr-15)
#78320
PDF page: 130
It is said that the method: @When("^I withdraw \\$(\\d+)$") public void iWithdraw$(Money amount) throws Throwable { Teller teller = new Teller(); ...more...
  • Reported in: P1.0 (16-Mar-15)
#78256
Paper page: 132
In the $ShouldBeDispensed method at the top of the page the code contains helper.getCashSlot().contents() but in the definition of the CashSlot clas...more...
  • Reported in: P1.0 (14-Apr-15)
#78321
PDF page: 132

in the step method definition it should be:
helper.getCashSlot().getContents());

instead of

helper.getCashSlot().contents());--Serguei Cambour

  • Reported in: P1.0 (16-Apr-15)
#78341
PDF page: 150
In AtmServer constructor, the server instance is initialized with hard-coded port value instead of taking it from the passed in parameter: server = n...more...
  • Reported in: P1.0 (25-Jun-15)
#78537
PDF page: 155
When searching the element by ID, it should be in lower case: webDriver.findElement(By.id("amount")) instead of webDriver.findElement(By.id("Amount...more...
  • Reported in: P1.0 (31-Aug-16)
#80684
PDF page: 156
Chapter 8. Support Code: Using Hooks: No mention is made of the fact that hook classes must be in the package tree defined by the Cucumber glue option...more...
  • Reported in: P1.0 (25-Mar-15)
#78276
PDF page: 161
Hope you can help. Not sure if this is a technical error or not. After updating AtmUserInterface.java, then I get a compile error. Detail below. Are ...more...
  • Reported in: P1.0 (03-Sep-16)
#80688
PDF page: 172
The mvn clean test suggested on this page will not result, as claimed, in an image of the greeting page being saved. Instead the image will be blank. ...more...
  • Reported in: P1.0 (02-Sep-16)
#80686
PDF page: 173
The finish() method listed uses a variable named "helper". The text does not tell the reader what type "helper" is nor how to initialize it.--Daniel B...more...
  • Reported in: P1.0 (03-Sep-16)
#80690
PDF page: 174
For some reason the wrong PDF page number keeps showing up in the errata... Anyway, here goes one more time, with feeling: The mvn clean test sugge...more...
  • Reported in: P1.0 (03-Sep-16)
#80689
PDF page: 175
Apologies, wrong PDF page number on the prior submission... The mvn clean test suggested on this page will not result, as claimed, in an image of t...more...
  • Reported in: P1.0 (04-Apr-16)
#80187
Paper page: 269
This is in Chapter 14. Maven main class package name has a typo. It should be cucumber.api.cli.Main It is currently cucumber.cli.Main--Kingsly ...more...
  • Reported in: P1.0 (09-Jul-16)
#80512
Paper page: 4442
in 'Using Hooks' section, the book indicates to create a Hook class, but forgots to mention that we need to create that class in the glue package we s...more...