
Gherkin Language and Given-When-Then

#148 - Behavior-Driven Development (BDD) Essentials - Jan Molak & John Ferguson Smart
Topic 4 of 11
Published Sep 11, 2023 · Clip 27:43–32:27 (4:44)
John explains Gherkin is the given-when-then notation originating with Dan North, related to the Cucumber tool. Well-written Gherkin forms a domain-specific language for business rules, but using it for granular UI test scripts makes it brittle. Jan explains Gherkin separates preconditions, actions, and outcomes like Arrange-Act-Assert, and highlights that Cucumber supports over 70 languages including non-English specification writing.