Why You Should Use “Should” In Your Gherkins

It might seem optional, but when talking about gherkins, it is mandatory!

David Rodenas PhD

--

In previous articles, I have talked a lot about Gherkin and the rules about how to improve their writing. For example, in the following article, I explained five of the most important things to consider while writing, that I found in no other course:

Unsurprisingly, I have utilized the following article, which offers 15 tips, as a checklist to assess my students:

Yet, one of these tips, and for me, one of the most important, is the following:

Always Use “should” on “Then”

The idea is simple, if you are writing a Gherkin, when using the “Then” keyword you should use “should”. Example:

--

--

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.