Given When Then
Given/When/Then makes criteria observable
- Given describes the starting context.
- When describes the user action or event.
- Then describes the observable outcome.
Prompt anatomy
GivenGiven a student has three recommended laptops
WhenWhen the student opens comparison
ThenThen price, battery, weight, and reason are visible for each option