Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.27 KB

gherkin-code.md

File metadata and controls

15 lines (8 loc) · 1.27 KB

Behavior-Driven Development using Gherkin stories

Use Gherkin to turn your user stories into executable specifications.

Screenshot of a Gherkin Code Example in an editor

Gherkin is a simple language for describing the behavior of software. It is used by Cucumber, SpecFlow, and other tools, Gherkin is used to turn user stories into executable specifications.

When using Gherkin to capture stories as code, consider using VSCode with the Gherkin extension. If you use JetBrains IDEs, you can use the Gherkin plugin instead.

Keep the Gherkin stories in the same repository as the code they describe. This makes it easier to keep the stories up to date as the code changes and to run them as continuous integration tests.

You can also use Cucumber Studio for writing stories. Cucumber studio helps non-technical authors to create Gherkin stories, but it is relatively expensive for its limited feature set.

Screenshot of a Gherkin Code Example in Cucumber Studio