Gherkin Rules
Gojko Adzic wrote his award-winning book, Specification By Example, 11 years ago. Last year, he ran an online poll to determine the most popular format for expressing examples and found that Given/When/Then received 71% of the votes.
Gherkin is probably the reason for this win, because:
- Given/When/Then are the core keywords of Gherkin
- Gherkin is the structured syntax understood by automation tools such as Cucumber
- Cucumber is a widely downloaded, open-source tool, available on numerous platforms
So, it might be fair to say that when it comes to documenting and automating examples, “Gherkin rules.” That is not what this article is about.