Skip to main content
gherkin

gherkin

1 7.6
A simple readable format for writing tests using Given/When/Then
  • noun
  • /ˈɡɜrkɪn/
  • Specialized
translation icon : gherkin
  • And how is this precious gherkin today?

Examples

  • In behavior-driven development, we use gherkin syntax to define our test cases clearly.

  • Using gherkin allows us to create scenarios that are easily read by both technical and non-technical stakeholders.

  • The next step is to create the bindings that allow us to wire up the Gherkin feature to our application's code.

    Blog text (7)
  • Why don't we see if Mark fancies a gherkin?

  • The development team wrote their user stories using gherkin to ensure everyone understood the requirements.

Surface Forms

gherkin singular
gherkins plural

Etymology

The word gherkin used for the test language was named after the small vegetable because it belongs to the testing tool Cucumber. A helpful way to remember it is to think of a gherkin as a short, simple 'recipe' of steps that tells a computer what to test.