BDD with SpecFlow or Cucumber (.NET/Java/JavaScript/Ruby)
1-3 days
English, Hungarian
computers needed
no
Objective
The BDD with SpecFlow or Cucumber course shows how to write and maintain executable specification using the Gherkin feature file format, how to drive the implementation of the application and how to design and implement a test automation layer that is easy to maintain even for a larger number of tests. The attendees shall rely on a lot of exercises and discussions, through which they can learn about all important features of SpecFlow/Cucumber.
Participants
The course is for developers and testers, who are involved in automating Gherkin scenarios. Product owners or business analysts are also welcome for Module 1.
Content
You can learn how to:
- work with Behavior Driven Development using SpecFlow/Cucumber
- understand requirements more easily through rules and examples
- write and maintain executable specification using the Gherkin feature file format
- drive the implementation of the application by Gherkin scenarios
- design and implement a test automation layer that is easy to maintain even for larger number of tests
- automate application through the domain layer
- automate web applications or applications with external dependencies
- become a strong member of a BDD team
- use all important features of SpecFlow/Cucumber
- integrate these into the existing development process
Modules
Module 1
Capturing requirements with Given/When/Then – quick intro on Behavior Driven Development (BDD); specification by example; the role of examples; ubiquitous language; scenario writing; BRIEF principles; scenarios vs. tests; structuring scenarios
Module 2
SpecFlow/Cucumber scenario automation core concepts and patterns – setting up; working with Data Tables; sharing state (data) between steps; organizing step definitions: automating external interfaces (UI or Web/REST API); accessing state through external interface
Module 3
Advanced SpecFlow/Cucumber automation techniques – managing data in the scenarios; managing baseline data; extract data representation; improve feedback from scenario execution; structuring the automation layer; testing asynchronous behavior; multiple automation layers
Misc.
- Module 1 is a no-coding module, no laptop or computer is required.
- It is possible to organize a one-day course on Module 1 only for the entire team: Product Owners, Business Analysts, Testers, Developers … – anyone involved in specification/requirement workshops that yield formalized Gherkin specifications. No development knowledge or laptops required.
- For Module 2 and 3: A training workstation prepared for the selected BDD automation tool (SpecFlow, Cucumber Java, Cucumber Ruby, Cucumber.js) is required.
- Whiteboard or flipchart, a beamer with HDMI is required. Desks should be organized in a cabaret- or pod-style.