Behaviour Driven Development, or BDD, is an extremely effective software delivery practice that helps teams collaborate better and focus on delivering features that really matter. Cucumber is by far the most widely-used BDD tool in the market. And Serenity BDD adds world-class living documentation and reporting, and makes it easier for teams to automate their BDD acceptance criteria using robust and sustainable test automation practices in Java. Together, they make a powerful combination.

In this self-paced course for testers and developers, you will learn about both BDD theory and practices, and also how to write high quality automated acceptance tests in Java using Cucumber and Serenity BDD. Plus you will learn invaluable tips and tricks about Cucumber and Serenity BDD from the authors of Serenity BDD.

Topics covered include:

  • Writing robust step definition methods
  • Writing high quality scenarios
  • Advanced Gherkin - using data tables and scenario outlines
  • Test automation architectures for real-world application - combining Cucumber and Serenity for more sustainable test suites
  • Organising your test suites - using tags and requirements hierarchies
  • Writing better automated web tests in Java with Serenity BDD and Cucumber
  • Testing REST APIs with Cucumber, Rest Assured and Serenity
  • Cucumber and the Screenplay pattern
  • Using Cucumber and Serenity for better reporting and living documentation

Course Curriculum

  • 1

    Introduction

    • Introduction

    • How does BDD work?

    • The Three Amigos

    • Key Lessons

    • Quiz

  • 2

    Example Mapping and Feature Mapping

    • Introduction

    • Example Mapping

    • Feature Mapping

    • Working with Tables

    • Key Lessons

    • Quiz

  • 3

    Gherkin: The Language of Executable Specifications

    • Introduction to Gherkin

    • The Gherkin Language

    • From Feature Maps to Gherkin Scenarios

    • Background Sections

    • Working with Lists and Tables

    • Scenario Outlines

About the instructor

Author of BDD in Action

John Ferguson Smart

John is an international speaker, consultant, author and trainer well known in the Agile community for his many books, articles and presentations, particularly in areas such as BDD, TDD, test automation, software craftsmanship and team collaboration.John helps organisations and teams around the world deliver better software sooner through more effective collaboration and communication techniques, and through better technical practices.John is the author of the best-selling BDD in Action, as well as Jenkins: The Definitive Guide and Java Power Tools.Very active in the Open Source community, John also leads development on the innovative Serenity BDD test automation library, described as the "best opensource selenium webdriver framework".