You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have two ways of defining a precondition for a logged in user:
I'm logged in as a 'Site Administrator'
or
a logged in site administrator
Both keywords use past tense, which is considered best practice for GIVEN keywords in BDD. Though, the "I do something" is usually reserved for WHEN keywords to indicate an action of a user. Therefore if we want to use this keyword in GIVEN, we should stick to the second option and deprecate the first option to avoid confusion. What do you think @datakurre?
The text was updated successfully, but these errors were encountered:
We currently have two ways of defining a precondition for a logged in user:
or
Both keywords use past tense, which is considered best practice for GIVEN keywords in BDD. Though, the "I do something" is usually reserved for WHEN keywords to indicate an action of a user. Therefore if we want to use this keyword in GIVEN, we should stick to the second option and deprecate the first option to avoid confusion. What do you think @datakurre?
The text was updated successfully, but these errors were encountered: