QuestionQ16

Agile software development and Test Techniques

The following user story has been created:

As an Alpha Airways customer 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?

Explanation

A BDD scenario should describe one clear behavior path using a precondition, an action, and an expected result. A customer who has booked a flight can access the relevant reservation by providing the surname and flight number, after which the booking details are displayed. Error handling belongs in a separate scenario from the successful-access path.

Community Discussion

No comments yet. Be the first to start the discussion!