15 Quick Tips To Improve Your BDD Gherkin Writing

Make your Gherkin writing clearer with these tips.

David Rodenas PhD
7 min readNov 12, 2022

In the previous article, I gave 5 tips that were quite advanced but also difficult to find or often overlooked for those who want to make a breakthrough in their skills:

This article focuses on the most basic aspects that we should consider. The ones that anyone should teach us the day we start writing Gherkin. So, let’s begin.

Use different sentences for Given-When-Then steps

A scenario is split into three stages: “Given”, “When”, and “Then”. Each one has its purpose, and often just the keyword is not enough to get the full picture, especially when you can use “And” without the keyword.

--

--

David Rodenas PhD

Passionate software engineer & storyteller. Sharing knowledge to advance our skills. Join me on a journey of discovery in the world of software engineering.