Introduction to Behavior Driven Development

Kursdetails

The 2-day course “Introduction to BDD” gives you the background about BDD and where it is most effective, as well as how to use Cucumber to write and execute BDD scenarios.

Behavior-driven development an agile methodology aimed at improving communication between developers, testers, business analysts and others while working on a product. It allows all stakeholders to get a common view of the requirements, what is already implemented and the complexity of the upcoming features. The tests written in Cucumber not only direct the implementation of the product but also support the maintainability of the code throughout the lifecycle of the product

The course starts with the origins of BDD and how it was applied in the context of agile projects. We then start to work thorough examples of how requirements can be defined using Gherkin, a language within Cucumber, the main tool for executing BDD scenarios. We learn how to set up Cucumber scenarios, write and maintain them, as well as write the code to make them run. At the end of the course we’ll have a working application built in BDD.

The training is intended for: Developers, testers and business analysts with software development background.

Training goals

Following the training, attendees will be able to:

  • Identify stakeholders in the project
  • Specify requirements and their acceptance criteria
  • Model user flows in the product
  • Break epics into stories
  • Refine a story to a testable example
  • Write scenarios in Gherkin
  • Use Cucumber as a platform to run scenarios
  • Refactor and maintain scenarios

Training topics

  • The mindset behind BDD
  • Test automation, refactoring and sustainable agility
  • Benefits of BDD
  • Integration between BDD and TDD
  • Defining stories in a common language
  • Slicing stories
  • Personas and stake holders
  • The Cucumber platform
  • Writing features, scenarios and steps
  • The Gherkin language
  • The Given-When-Then story format
  • Best practices in writing BDD scenarios

Prerequisite

  • The technical exercises are going to be with Cucumber. Attendees need to have their own laptops ready.
  • Attendees are expected to have some development experience.

Ihre Ansprechpartner

Alexandra Michalak

Phone: +49 (0)30 74 76 28-0
Fax: +49 (0)30 74 76 28-99

» Schreiben Sie per E-Mail

Madeleine Griep

Phone: +49 (0)30 74 76 28-0
Fax: +49 (0)30 74 76 28-99

» Schreiben Sie per E-Mail