🌱 Writing User Stories With Gherkin
Scenario -> Given -> When -> Then
- Scenarios: All the actions a user could take (including bad input)
- GIVEN: Sets the context. What page are we on and what state are we in? Is the user an admin?Signed-in? Has created a campaign?
- WHEN: What actions the user is performing. What event occurred?
- THEN: What should the system do in response? What is the expected outcome?