Example Mapping
From BDD, Matt Wynne
A 25-minute conversation per story that uses coloured cards for rules, examples and questions, so the team agrees what ‘done’ means before building.
Helps with
Pairs well with
Why it exists
Reach a shared understanding of a story, meaning its rules, examples and open questions, in one short conversation before anyone builds it.
Why it works
Concrete examples expose misunderstandings that abstract requirements hide. A 25-minute timebox, and simply counting the cards, tells you early whether a story is too big (many rules) or not yet understood (many questions), before building has cost anything.
Before you start
- Product, development and testing perspectives can meet together.
- Stories near the top of the backlog are candidates for the next cycle.
Don’t use it when
- The change is trivial and well understood.
- The work is a research spike with no defined behaviour yet.
Set it up for your context
How to introduce it
- Write the story on a yellow card.
- Add each business rule on a blue card.
- Under each rule, add concrete examples on green cards.
- Capture open questions on red cards.
- Stop at 25 minutes and take a thumbs vote: is it ready?
- Turn the examples into acceptance tests.
Variations
- Three amigos
- The same three perspectives in a less structured conversation.
- Gherkin scenarios
- Formalise examples as Given–When–Then tests after the session.
Common failure modes
Endless sessions
You’ll notice Conversations drag past an hour.
Fix Keep the 25-minute timebox; overrunning is itself a sign the story needs splitting.
Developers only
You’ll notice Product and testing perspectives are missing.
Fix All three perspectives are required, or the session is postponed.
Examples forgotten
You’ll notice The cards are thrown away after the session.
Fix Every example becomes an acceptance test.
Signs it’s working
- Fewer stories bounce back from testing.
- Fewer “that’s not what I meant” defects.
- Refinement gets faster over time.
What it costs
- Setting up
- Minimal: four colours of cards or a digital board.
- Ongoing
- About 25 minutes per story.
How it connects
- Backlog Refinement Example mapping is a focused format for refinement.
- Test-Driven Development Examples become the first tests.
Sources
- Introducing Example Mapping, Matt Wynne (2015)
- Specification by Example, Gojko Adzic (2011)