A BDD story consists of one narrative followed by at least one scenario. A narrative is only informative, and its main purpose is to provide just enough information that can serve as a beginning of communication between everyone involved (testers, business representatives, developers, analysts, and so on). It is a short and simple description of a feature, told from the perspective of a person who requires it.
The goal of a narrative is to answer three basic questions:
- In order to: What is the benefit or value of the feature that should be built?
- As a: Who needs the feature that was requested?
- I want to: What is the feature or goal that should be developed?
Once we have those questions answered, we can start defining what we think ...