Course : BDD with Cucumber and Gherkin

Practical course - 2d - 14h00 - Ref. BCG
Price : 1420 € E.T.

BDD with Cucumber and Gherkin




Thanks to this training course, you will gain an understanding of the fundamental principles of Behavior-Driven Development (BDD) and its benefits. You'll learn how to write test cases with Gherkin, and how to use the Cucumber tool to automate test case execution.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. BCG
  2d - 14h00
1420 € E.T.




Thanks to this training course, you will gain an understanding of the fundamental principles of Behavior-Driven Development (BDD) and its benefits. You'll learn how to write test cases with Gherkin, and how to use the Cucumber tool to automate test case execution.


Teaching objectives
At the end of the training, the participant will be able to:
Understanding BDD concepts
Defining features with Gherkin
Transforming Gherkin requirements and acceptance tests with Cucumber

Intended audience
Business analysts, developers, testers.

Prerequisites
Basic knowledge of Java.

Practical details
Hands-on work
Each new theoretical concept is applied immediately and practically.

Course schedule

1
Origins and objectives of BDD

  • Extending and enhancing Test-Driven Development (TDD) with BDD.
  • Reducing waste.
  • Shorten availability time.
  • Feature, glue and executable acceptance testing.
  • When to use BDD and when not to.
Demonstration

2
BDD tooling

  • Expressing features and examples: Gherkin.
  • Executable tests: Cucumber.
  • Test automation: JUnit.
  • Support for IDEs and Build tools.
Hands-on work
BDD implementation with Gherkin, Cucumber and JUnit.

3
Gherkin syntax

  • Feature/screenplay.
  • Background.
  • Patterns and anti-patterns.
  • Using tables in a scenario.
  • Use of parameterized scenarios.
  • Annotate with tags.
  • Organize your features.
Hands-on work
write simple Gherkin scenarios.

4
Go further with Gherkin

  • Define your own Domain Specific Language.
  • Write features in your own language.
Hands-on work
Creation of a Domain Specific Language (DSL) for an e-commerce application.

5
Teamwork organization

  • The BA - Dev - Q/A trio.
  • Writing examples.
  • Glue creation.
  • Review and validation by the product owner.
Hands-on work
Optimizing a collaborative process.

6
Glues in detail

  • Writing glues with Cucumber.
  • Use Cucumber expressions.
  • Use regular expressions.
  • Stateful scenario.
  • Support multiple assertions.
Hands-on work
Practical application and glue analysis in Cucumber.

7
Defining requirements with BDD

  • Define features and stories.
  • Illustrate with examples.
  • Breaking down stories to make them easier to understand.
Hands-on work
Define and cut BDD stories for an e-commerce application.

8
Living documentation

  • Role of documentation.
  • Progress reporting.
  • Definition of Done.
Hands-on work
Setting up lively, collaborative documentation for a BDD project.


Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 13 Apr., 22 June, 5 Oct., 7 Dec.

PARIS LA DÉFENSE
2026 : 30 Mar., 15 June, 28 Sep., 30 Nov.