問題文
A team writes an acceptance test in Gherkin for a story about canceling a hotel booking within the free cancellation window. Which option describes what the Given block, the When block and the Then block each hold?
選択肢
- The Given block sets the expected result and the When block holds the starting state while the Then block states the performed action.
- The Given block sets the screen layout and the When block holds the button label while the Then block states the database column.
- The Given block sets the test schedule and the When block holds the review comment while the Then block states the release decision.
- The Given block sets the starting state and the When block holds the user action while the Then block states the observable consequence.