small medium large xlarge

The latest version of the book is P3.0, released about 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: P2.0 (16-Feb-14)
  • Fixed: 08-Dec-16, awaiting book release
#76415
PDF page: 4

Footnote 3

h..p://behaviour-driven.org/

displays :

502 Bad Gateway

--Bernard Kaiflin

  • Reported in: P2.0 (24-May-13)
  • Fixed: 08-Dec-16, awaiting book release
#51603
PDF page: 8

"When the team write their acceptance tests collaboratively"
should be either:
- "the team writes"
or
- "teams write"--Sean P. DeNigris

  • Reported in: P2.0 (30-Nov-13)
  • Fixed: 16-Dec-16, awaiting book release
#53252
Paper page: 19
The book suggest to write this Then /^The output should be "([^"]*)"$/ do |expected_output| @output.should == expected_output #pending # ex...more...
  • Reported in: P2.0 (21-Mar-14)
  • Fixed: 16-Dec-16, awaiting book release
#76558
PDF page: 25
Paper page: 13

You should point out that "show-guests" needs to come =before= "home", otherwise "home" will not be able to see "show-guests"!--Blake Watson

  • Reported in: P3.0 (20-Jul-14)
  • Fixed: 08-Dec-16, awaiting book release
#77026
PDF page: 26
Last paragraph "When the team write their acceptance tests collaboratively" replace "write" with "writes" (or "team" with "teams").--unitytechgroup.co...more...
  • Reported in: P2.0 (20-Nov-13)
  • Fixed: 08-Dec-16, awaiting book release
#53187
PDF page: 28
Tocino grueso! (Chunky Bacon!) should be Tocino grueso! (Thick Bacon!). Thick bacon is the proper spanish/english translation. Rick Flores--Rick Fl...more...
  • Reported in: P1.0 (27-Nov-12)
  • Fixed: 08-Dec-16, awaiting book release
#50216
PDF page: 34
According to google translate the word regnskapsførerere does not have an english counterpart. When I remove the last "re" it appears to be accountan...more...
  • Reported in: P3.0 (20-Jul-14)
  • Fixed: 16-Dec-16, awaiting book release
#77027
PDF page: 37
Paper page: 20
When running cucumber, getting: DEPRECATION: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is d...more...
  • Reported in: P3.0 (21-Jul-14)
  • Fixed: 16-Dec-16, awaiting book release
#77033
PDF page: 65
Paper page: 49
Description of \b in the "Useful Shorthand Character Classes" top box is wrong. It's a zero-width match anchor. Sounds like you are describing \W inst...more...
  • Reported in: P2.0 (18-Feb-14)
  • Fixed: 16-Dec-16, awaiting book release
#76438
PDF page: 69

Error 404 for footnote 2 h..p://cukes.info/cucumber/api/ruby/latest/Cucumber/Ast/Table.html--Bernard Kaiflin

  • Reported in: P1.0 (02-Nov-12)
  • Fixed: 08-Dec-16, awaiting book release
#50121
PDF page: 78

"they're a reading"--Trevor Harmon

  • Reported in: P1.0 (02-Nov-12)
  • Fixed: 08-Dec-16, awaiting book release
#50122
PDF page: 96

"with an features"--Trevor Harmon

  • Reported in: P2.0 (06-Mar-14)
  • Fixed: 16-Dec-16, awaiting book release
#76487
Paper page: 122
Missing code when adding instance variable. Error: @my_account.balance.should eq(amount),"Expected the balance to be #{amount}" Should be: @my_a...more...
  • Reported in: P2.0 (19-Feb-14)
  • Fixed: 16-Dec-16, awaiting book release
#76439
PDF page: 124

Error 404 for footnote 1 h..p://cukes.info/cucumber/api/ruby/latest/Cucumber/RbSupport/RbWorld.html
--Bernard Kaiflin

  • Reported in: P1.0 (06-Oct-12)
  • Fixed: 16-Dec-16, awaiting book release
#49928
PDF page: 148

broken linkto github for Cucumber::Ast::Scenario at the bottom of the page (footnote [4])
--Iain Wood

  • Reported in: P1.0 (10-Jan-13)
  • Fixed: 16-Dec-16, awaiting book release
#50455
Paper page: 151
Quick note before description - I wasnt able to select the correct version of the book, the one i am reading is P2.0 August 2012. Just finishing up...more...
  • Reported in: P1.0 (19-Dec-12)
  • Fixed: 16-Dec-16, awaiting book release
#50397
PDF page: 151
Cucumber scenario always fails when using RackTest driver and the following tag: <button type="submit">Withdraw</button> Possible workaround: use S...more...
  • Reported in: P3.0 (31-Jul-14)
  • Fixed: 16-Dec-16, awaiting book release
#77086
PDF page: 197
Between the 2nd and 3rd paragraphs of section 11.5, there's an example run of cucumber: $ cucumber --wip @wip:3 That doesn't work (in v1.3.15, a...more...
  • Reported in: P2.0 (29-Aug-13)
  • Fixed: 16-Dec-16, awaiting book release
#52494
PDF page: 231-2
There is a list that spans from page 231-2 and "config/cucumber.yml" is the first and last thing in the list, but with different descriptions. --Anna...more...
  • Reported in: P1.0 (05-Dec-12)
  • Fixed: 16-Dec-16, awaiting book release
#50266
PDF page: 231
Just after adding the necessary gems in the Gemfile there is the command to generate the cucumber files and folders with cucumber:install: $ cd squ...more...
  • Reported in: P1.0 (05-Dec-12)
  • Fixed: 16-Dec-16, awaiting book release
#50271
PDF page: 231
Should the javascript runtime environment gems should also be added to the Gemfile? If not there is the following error message: ~/.rvm/gems/ruby-...more...
  • Reported in: P2.0 (24-Dec-13)
  • Fixed: 16-Dec-16, awaiting book release
#56865
PDF page: 232
With newer FactoryGirl : Download rails/02/features/step_definitions/user_steps.rb Given /^there is a User$/ do FactoryGirl.create(:user)<-----Ori...more...
  • Reported in: P2.0 (29-Aug-13)
  • Fixed: 08-Dec-16, awaiting book release
#52498
PDF page: 236
FactoryGirl is a gem and has no gender. Please don't personify it in your writing. "poor old FactoryGirl complains that she doesn’t know..."--Anna Ca...more...
  • Reported in: P2.0 (22-May-13)
  • Fixed: 16-Dec-16, awaiting book release
#51558
PDF page: 245

The test examples in Chapter 15, as printed, keep complaining of a Mass Assignment Error. Therefore, we never actually see it working :)--Brett Giles

  • Reported in: P2.0 (09-May-13)
  • Fixed: 16-Dec-16, awaiting book release
#51485
PDF page: 248
code snippet capybara/00/features/step_definitions/user_steps.rb at page 248 is Wrong: Error line: message_attrs.merge({:user => user}) Correc...more...
  • Reported in: P1.0 (02-Dec-12)
  • Fixed: 16-Dec-16, awaiting book release
#50227
PDF page: 251

Book says:

so all we need to add is a field with a name="criteria" attribute

"criteria" should be "query" ?
--Perry Smith

  • Reported in: P1.0 (29-Nov-15)
  • Fixed: 16-Dec-16, awaiting book release
#79244
Paper page: 251

name="criteria"
should be
name="query"

  • Reported in: P1.0 (02-Dec-12)
  • Fixed: 08-Dec-16, awaiting book release
#50228
PDF page: 253
Page 253-254 has a code snippet split across a page break. With your formatting tools, can you give some weight to not breaking code snippets across ...more...
  • Reported in: P2.0 (14-Feb-13)
  • Fixed: 16-Dec-16, awaiting book release
#50823
PDF page: 260
This is the chapter on testing javascript enabled web pages. The examples all print with the error: Can’t mass-assign protected attributes: user (...more...
  • Reported in: P1.0 (02-Dec-12)
  • Fixed: 16-Dec-16, awaiting book release
#50229
PDF page: 261
The "Running Capybara Against Non-Ruby Applications" box... Does this imply that you could point app_host to your staging or even your production s...more...
  • Reported in: P1.0 (03-Apr-13)
  • Fixed: 09-Dec-16, awaiting book release
#51206
Paper page: 267
As of Capybara 2.0, a call to _find_ gives an _ambiguous match_ error when more than one element is found in the page. Because of that, using _find_ h...more...
  • Reported in: P2.0 (19-May-13)
  • Fixed: 09-Dec-16, awaiting book release
#51545
PDF page: 268
Capybara 2.0 results in an _ambiguous match_ error when find('ol.results li') is called (as reported in erratum 51206. An easier fix than the one sugg...more...
  • Reported in: P3.0 (06-Feb-17)
#81103
PDF page: 300
Link to Ruby Version Manager (RVM) web site in paragraph 2 is: beginrescueend.com should be: rvm.io Reason: Since sometime around April 2012 be...more...
  • Reported in: P3.0 (06-Feb-17)
#81104
PDF page: 304

Footnote 1
is: h..p://beginrescueend.com/gemsets/
should be: h..ps://rvm.io/gemsets/