The following user story has been developed:
As a customer of Alpha Airways who has booked a flight
I want to access the flight reservation
So that I can update the booking details
Which BDD scenario written in Gherkin format correctly applies to this user story?
SELECT ONE OPTION
The correct BDD scenario for the given user story is option C, which aligns with the principles of Behavior-Driven Development (BDD) and the Gherkin syntax. This scenario clearly specifies the context (Given), the action (When), and the outcome (Then), along with handling alternate flows (ELSE). It ensures that the customer can access and update their booking details only if they provide both the correct surname and flight number, which is a common practice for verifying a customer's reservation. This scenario also includes an error handling path, which is essential for a comprehensive test case.
Reference= The ISTQB Advanced Level Agile Technical Tester syllabus and related materials emphasize the importance of creating testable acceptance criteria for user stories using requirements engineering and test techniques, which include the formulation of BDD scenarios in Gherkin format123.
Currently there are no comments in this discussion, be the first to comment!