BDD uses the Gherkin syntax to write test scenarios in a human-readable format: Given-When-Then.
The focus is on defining the behavior of the system in terms of user actions and outcomes.
Evaluating Options:
A: Correctly follows the Given-When-Then format, aligns with the user story, and focuses on the shopper's experience and entitlement to discounts.
B: Written from the perspective of the store clerk, which does not match the story's focus on the shopper.
C: Does not fully capture the conditions and behavior expected in the story.
D: Swaps the order of "Then" and "When," which violates the proper BDD syntax.
References:Aligned with ISTQB guidance on creating effective BDD scenarios that reflect user stories and desired behaviors.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit