Ask a Question

"Should" word in Then statements

VitorJeremias
New Member

"Should" word in Then statements

Hello all,

 

When writing the `Then` statement in Gherkin, we can either directly tell the expected result or use the "should" word to describe what should happen:

 

...

When Alice sends a message to Bob

Then Bob receives the message

 

...

When Alice sends a message to Bob

Then Bob should receive the message

 

Which one you think is the best option to use?

1 REPLY 1
TanyaYatskovska
SmartBear Alumni (Retired)

Hi @VitorJeremias,

Could you pleas clarify which SmartBear product you are using? I will move your question to the more appropriate forum.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: