small medium large xlarge

The Cucumber Book, Second Edition for Rails 5

February 08, 2017

You've been asking for it, and here it is: The Cucumber Book: Behaviour-Driven Development for Testers and Developers is now updated for Cucumber 2.4, Rails 5, and RSpec 3.5.

If you've purchased the previous edition from us, you'll see a coupon for 80% off the ebook list price for the upgrade to this new edition.

If you haven't yet embraced Cucumber, maybe now is the time to start. Come and get it, now available from


The Cucumber Book, Second Edition: Behaviour-Driven Development for Testers and Developers

Express your customers’ wild ideas as a set of clear, executable specifications that everyone on the team can read. Feed those examples into Cucumber and let it guide your development. Build just the right code to keep your customers happy. You can use Cucumber to test almost any system or any platform.

Get started by using the core features of Cucumber and working with Cucumber’s Gherkin DSL to describe—in plain language—the behavior your customers want from the system. Then write Ruby code that interprets those plain-language specifications and checks them against your application. Next, consolidate the knowledge you’ve gained with a worked example, where you’ll learn more advanced Cucumber techniques, test asynchronous systems, and test systems that use a database. Recipes highlight some of the most difficult and commonly seen situations the authors have helped teams solve. With these patterns and techniques, test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications, and more.

Written by the creator of Cucumber and the co-founders of Cucumber Ltd., this authoritative guide will give you and your team all the knowledge you need to start using Cucumber with confidence.

Now available from

Upcoming Author Appearances

  • 2017-02-10 Dave Thomas,
    LoneStar ElixirConf
  • 2017-02-24 Erica Sadun,
    PlaygroundsCon (remote talk, I’ll be talking on the 23rd but it will be the 24th in Australia)
  • 2017-03-02 Erica Sadun,
    Forward Swift 2
  • 2017-03-02 Chris Adamson,
    Forward Swift
  • 2017-03-07 Sandy Mamoli,
    Agile India 2017
  • 2017-03-09 Sandy Mamoli,
    Agile India 2017
  • 2017-03-23 Dave Thomas,
    GOTO Nights Chicago
  • 2017-03-25 Dave Thomas,
    Erlang Factory San Francisco
  • 2017-03-29 Andrew Hunt,
    The GROWS™ Method Workshop: Grow Skill, Grow Code
  • 2017-03-30 Janie Clayton,
    iOSCon 2017, London, England
  • Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: pragprog</a>, <a href="">pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • Effective Testing with RSpec 3: Build Ruby Apps with Confidence
    • Design It! From Programmer to Software Architect
    • A Common Sense Intro to Data Structures and Algorithms
    • Elixir and Phoenix

    Recently Released:

    Thanks for your continued support,

    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts