small medium large xlarge

Cucumber School (Ruby): Learn BDD with the Cucumber core team


Cover image for Cucumber School (Ruby)

Cucumber School (Ruby)

Learn BDD with the Cucumber core team


Cucumber is a tool for running automated tests written in plain language. Because they’re written in plain language, anyone can read them. Because anyone can read them, they have magic powers that improve communication, collaboration, and trust on your team. The magic is called Behaviour-Driven Development (BDD).

Cucumber School is created and taught by the Cucumber core team. The 10-episode series is based on a proven syllabus taught to hundreds of people in their popular in-house training classes. Through three hours of practical video content, coding exercises, and thought-provoking questions, you’ll learn the individual skills needed to excel with Cucumber and BDD.

Watch a sample or download from here:

Download mp4 Format zip

Download mp4v Format zip

Download OGV Format zip

This work was written and produced entirely by the author. We are proud to be distributing it.

Choose Episodes

All the episodes in this series have been released.

  • Screencasts are DRM free.

About this Title

Available in: DRM-free iPod/iPhone 3 Video, iPad/iPhone 4 Video, and OGV Video
Download and watch when and where you want

Software developers and business people often misunderstand each other. Those misunderstandings cost our industry billions. Once you learn you’ve built the wrong thing, you have to make an uncomfortable choice: stay late to meet the deadline, hack in a low-quality solution, or just ship it anyway.

It doesn’t have to be this way.

Behaviour-Driven Development (BDD) is an approach to software development that bridges the communication gap between the business, developers, and testers and gets everyone speaking the same language. You’ll discover how BDD and Cucumber, the world’s most popular BDD tool, help teams communicate requirements with more precision, discover defects early, and produce software that stays maintainable over time.

You’ll learn how to install and run Cucumber, and how to write executable specifications and living documentation using the Gherkin plain text format. In between the coding you will also learn powerful collaboration and analysis techniques such as Discovery Workshops and Example Mapping.
Through a worked example, you’ll use Cucumber to guide the development of a simple social network, using techniques such as Modelling by Example and Hexagonal Architecture to create a codebase that is easy to maintain and test. You’ll learn how to use Cucumber with Selenium and how to strike a good balance between Acceptance Tests and Unit Tests.

Contents & Extracts

  • 1. Give Me an Example
    • Learn how to gather examples for Cucumber through conversations with your stakeholders.
  • 2. Your First Scenario
    • Write and run your first Cucumber scenario.
  • 3. Matching Steps
    • Learn just enough regular expressions to write great scenarios.
  • 4. Cleaning Up
    • Learn how to refactor your Cucumber scenarios and step definitions to make them maintainable over time.
  • 5. Loops
    • Learn how create more expressive Cucumber scenarios with more advanced Gherkin syntax.
  • 6. Configuring Cucumber
    • Learn how to use tags, tables, the command line options, plugins and more.
  • 7. Details
    • Learn about the different language styles, levels of details and abstraction in your scenarios.
  • 8. Problems and Solutions
    • Learn about Example Mapping, Support Code and Modeling by Example.
  • 9. Acceptance Tests vs. Unit Tests
    • In which we discover missing unit tests and learn the relative benefits of acceptance tests and unit tests.
  • 10. Web Automation with Selenium
    • Automate the web from Cucumber.
    • Learn about the test pyramid and the benefits of hexagonal architecture.


Julien Biezemans, Matt Wynne, and Aslak Hellesøy are the core contributors to Cucumber, the world’s most popular BDD tool. Together, they have more than 50 years of experience writing software and coaching teams. Matt and Aslak are the authors of The Cucumber Book, and co-authors of The Cucumber for Java Book and Cucumber Recipes.

Julien, Matt, and Aslak work for the company they founded, Cucumber Limited, and live in a Cucumber house eating Cucumbers all day long. That last bit about the house isn’t true. They blog at and tweet as @jbpros, @mattwynne, and @aslak_hellesoy.