The 1-day course “Crash course BDD” gives you the background of Behavior Driven Development and focuses on technically get up and running with using Cucumber/SpecFlow to write and execute Behavior Driven Development scenarios.
Behavior-driven development is 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 specs 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 a short background and jumps into hands-on mode. We start to work through examples of how requirements can be defined using Gherkin, a language within Cucumber, the main tool for executing BDD scenarios in Java, as well as SpecFlow for. We learn how to set up 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 Behavior Driven Development.
The training is intended for: Developers, testers and business analysts with software development background.
Course length: 1 day.
Following the course, attendees will be able to:
- Refine a story to a testable example
- Write scenarios in Gherkin
- Use Cucumber/SpecFlow as a platform to write and run scenarios
- What is BDD
- The Cucumber and SpecFlow platforms
- Writing features, scenarios and steps
- The Gherkin language
- The Given-When-Then story format
- Tackling different and complex scenarios
- Best practices in writing BDD scenarios
- The technical exercises are going to be with Cucumber or SpecFlow. Attendees need to have their own laptops ready and download the exercises beforehand.
- Attendees are expected to have some development experience.