Gherkin
The plain-text language for BDD scenarios, using the keywords Feature, Scenario, Given, When and Then.
In more detail
Given sets context, When performs an action, and Then checks the result. Scenario outlines run one scenario with several example rows.
Related terms
- BDD — Behaviour-driven development: describing software behaviour as readable Given-When-Then scenarios that product people and developers agree on, then automating them as tests.
- feature file — A .feature text file containing one Gherkin feature and its scenarios.
- scenario — One concrete example of behaviour in a feature file, written as Given, When and Then steps.
Taught in
- Behavior-Driven Development with Reqnroll — Modern .NET Core, C# & Enterprise Microservices