Delivering Integration Scenarios
Integration Scenarios compared with story maps, epics, use cases and Gherkin
User Story Mapping (Patton, 2014) is the technique readers are most likely to think of as “the same thing”. It is not, but the overlap is real and worth being precise about.
A story map arranges stories along a backbone of user activities, left to right in the order a user does them, with detail going down, and then slices the map horizontally into releases. It is excellent at what it does: showing the whole of one product’s user journey on one wall, exposing gaps, and making release slicing a visible, collaborative act.
| Story map | Integration Scenario | |
|---|---|---|
| Scope | One product, one user journey, all of it | One thread of value, often across several products |
| Form | A grid of cards on a wall or board | A sketch, a narrative or a card, with a flipside of criteria |
| Release scoping | A horizontal slice across the whole map | One or two scenarios per Release |
| Acceptance | Per story | Per scenario, end to end, plus per story |
| NFRs | Not addressed | Carried as cross-cutting criteria |
| Programme use | Awkward across teams | Native: lives on the programme backlog |
| Governance | None | Milestones hang on scenarios |
The two work well together. A story map is a good way to discover scenarios for one product: each slice of the backbone that delivers value is a candidate. The scenario is what survives when the wall is cleared, what crosses the product boundary, and what carries the criteria. If you only build one product with one team, a story map may be all the middle layer you need. If you build a product family, you need scenarios.
Epics
Epics are big stories. The word has drifted to mean “a container for stories”, and from there to “a level in a hierarchy”, which is where the damage happens. A scenario is not a container and not a parent. The same story can contribute to two scenarios; a scenario is a path, not a folder. Scenarios are described from the user’s point of view and must end in value; an epic is usually described from the backlog’s point of view and need not end in anything. If your tool only has epics, use an epic to hold a scenario, write the scenario in its description, put the criteria on it, and refuse to nest.
Use cases
Scenarios owe a debt to use cases, especially the alternate-flow idea and the discipline of describing a goal from the actor’s side. They differ in weight (a couple of paragraphs, not a document), in scope (a thread across use cases is a scenario, not a use case) and in the refusal to be tied to a notation.
Gherkin scenarios
BDD’s “scenario” is a Given, When, Then example that executes as a test. It is a format for acceptance criteria, and a good one. An Integration Scenario is the thing the criteria belong to. The natural relationship: the flipside of an Integration Scenario is written, in whole or in part, as Gherkin. Do not confuse the two words; do use them together.
Related
- What Integration Scenarios are for: the jobs a story map or an epic cannot do
- Where the newer techniques fit: story mapping and BDD placed in the requirements stack
- User stories and Problems: the stories every one of these organises