Gherkin
A plain-language syntax for writing executable specifications using keywords like Given, When, and Then.
What is Gherkin?
What is Gherkin?
Gherkin is the structured, human-readable language used in behavior-driven development to write feature files: scenarios composed of Given, When, Then, And, and But steps that both people and tooling can understand. Each step is backed by code that performs the corresponding action or check, turning a readable specification into an executable test. Gherkin keeps the intent of a test legible to non-engineers while still driving automation, bridging the gap between requirements and the recorded, executable flows that verify them.