Scenario testing: credible stories that stress the product
A scenario test is a believable story of a person using the product, with a twist that strains it. It finds faults that single-feature tests walk past.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a fire drill with a twist. A normal fire drill walks everyone to the main door. A better drill blocks that door. Now people must pick a second exit, help someone slow and still count everybody. The drill is still convincing, and it shows far more.
Daily List is a to-do list app. Tom, the tester, has checked adding a task, sharing a list and reminders, each one alone. Mei, the test lead, asks what happens when a real person uses them all in one messy hour.
Tom writes a , a test built from a convincing story of a person using the product, often with a twist that strains it. The story has a persona, an invented user with goals and habits. Today the persona is Lily, who lives by her lists.
In Lily's story she shares a list and loses signal on a train. She edits offline. Then she gets back online, but the other person has deleted the list. No single-feature test asked what happens then.
The picture has a limit. A drill is planned for a known danger. A scenario test also needs a twist that a real person could meet, not any twist at all.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Writing a believable story with a twist that makes several features meet, and a result anyone can judge.
- Credible
- Motivating
- Complex
- Easy to judge
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Fire drill | Scenario test |
| A blocked main door | The twist |
| People in the building | The persona |
| The head count at the end | A result that is easy to judge |
WHERE THIS PICTURE STOPS
- A drill is planned for a known danger. A scenario twist must come from real evidence.
- A building has one set of people. A product has many personas.
- A drill checks safety. A scenario test checks whether the product keeps its promises.
HOOK
Credible, motivating, complex, easy to judge.
REMEMBER IT THIS WAY
A story beat: one picture-line that carries the order or the cause.
Lily shares a list, loses signal on the train, edits offline, then finds the other person deleted the list. No single-feature test asked what happens then.
| In the trick | What it stands for |
|---|---|
| Lily | the persona |
| Losing signal | the twist that strains the product |
It misleads when the twist is one a real person could not meet.
TELL A FRIEND
A is a fire drill with a blocked door: a believable story with a twist, and a clear way to judge the result.
OFTEN MIXED UP WITH Use case testing. The lesson follows the flows the design describes. This lesson adds a believable twist that the design did not plan for.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Scenario Testing tutorial (Cem Kaner, slides for the 2010 conference of the Association for Software Testing) ↗ — Cem Kaner (kaner.com) · A good scenario is likely to motivate a stakeholder with influence to demand a fix, and it explains why people would be unhappy if the program failed (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Pattern: Scenario Testing (Harvey Mudd College software engineering course page) ↗ — Harvey Mudd College (computer science course page) · A scenario test is realistic, complex, easy to evaluate and motivating; a complex test can be dismissed as artificial, so tie it to use cases or support data (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Scenarios ain't just use cases (DevelopSense, Michael Bolton) ↗ — DevelopSense · Scenario testing is not the same as testing use cases; a search summary placed soap opera testing, by Hans Buwalda, after the scenario idea (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
BBST (Black Box Software Testing) - open courseware and AST instructor-led courses ↗ — Cem Kaner and the Center for Software Testing Education & Research (courseware); Association for Software Testing (courses) · The open courseware has a Test Design course that covers scenario testing (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened (inherited)). Version: courseware series: Foundations, Bug Advocacy, Test Design (edition not verified). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.