What is Given When Then format?
Short answer
It describes acceptance criteria as Given a context, When an action happens, Then an outcome occurs.
Advertisement
AModel answer
It describes acceptance criteria as Given a context, When an action happens, Then an outcome occurs.
Example
Given I am logged in, when I click logout, then I return to the home page.
Real-world example
A team started writing clear acceptance criteria for every story, and rework caused by misunderstandings dropped significantly.
Likely follow-ups
- How do you write a user story
- What makes good acceptance criteria
- What is INVEST
Related topics