---
type: "article"
title: "Three Questions for Every User Story"
summary: "One of the challenges of software testing is deciding what to test. We spend considerable time developing testing frameworks and writing test scripts. But before that work begins, someone needs to decide which behaviors matter and what evidence would convince us that those behaviors work as expected.\n\n\n\n\n\n\n\n\n\n\n\nUser stories offer a good starting point. They describe what people expect software to do, but rarely capture everything necessary to satisfy those expectations. How do we move from a short statement of intent to a useful collection of behavioral expectations?\nI’ve been working with a simple approach I call ERI: Explicit, Required, and Implied. The idea is to examine each user story from three perspectives, looking for hidden and implied behaviors that deserve further attention via test cases.\nSubscribe now\nStart with a user story\nConsider this example from an imaginary task management application:\n\nAs a task manager, I want to mark a task completed so that I can distinguish completed work from active work.\n\nWe could immediately design an API operation such as PUT /tasks/{id}/status and write a test that sends a request and checks for a successful HTTP response. But what have we learned? A successful response tells us something about the interaction, but it doesn’t necessarily establish that the system satisfied the original expectation. There is more here than we might see upon first glance. In fact, I think there are several tests “hidden” in this simple user story.\nThree questions\nBefore writing tests, I find it useful to examine the story itself with a more critical or curious view. To do that, I ask three questions:\n\nExplicit: What behaviors does the story directly describe?\n\nRequired: What additional behaviors must exist for the stated outcome to be satisfied?\n\nImplied: What other behaviors might reasonably be expected, given the story and its context?\n\nEach question offers a different perspective on the behavior of the system. Let’s apply them to our task management example.\nExplicit behaviors\nExplicit behaviors appear directly in the story. For example, our user story gives us this behavioral claim:\nA task manager can mark a task completed.\nNotice that, for now, we’ve avoided mentioning HTTP methods, resource paths, or implementation details. We’re interested in understanding what the story claims about the system before deciding how that claim will be implemented or verified.\nRequired behaviors\nNext, we look for behaviors or conditions necessary to satisfy the explicit expectation. For example, the system needs to identify the task being completed.\nThe system can identify the task targeted for completion.\nWe also need some way to determine whether the operation succeeded.\nThe completed state can be observed after the operation.\nThese expectations carry consequences for API design and testing. What happens when the requested task doesn’t exist? How does the system represent successful completion? Can a client retrieve the resulting record and validate its state? The required category helps identify dependencies and supporting behaviors that deserve attention.\nImplied behaviors\nThe third question explores expectations suggested by the story and its context. For example, marking a task completed raises questions about how long that completed state should remain in effect.\nA completed task remains completed until another authorized action changes its state.\nWe might also wonder whether completed tasks can be reopened or whether unsupported status changes should be rejected. These are reasonable questions, but the original user story doesn’t establish their answers.\nAn implied behavior is a candidate for investigation. It may reflect a domain rule, a common convention, or an assumption requiring confirmation. Applying ERI to a user story helps expose these questions before they become hidden assumptions in the implementation.\nFrom ERI to behavioral claims\nOur examination of the user story has produced several candidate behaviors worth considering for testing.\n\n\n\n\n\n\n\n\n\n\n\nHere we’ve expanded a short user story into behavioral claims for review with domain experts, developers, and testers. Some of these may become formal requirements. Others may be rejected or deferred. The important point is that we’ve made these expectations visible.\nThe distinction between required and implied matters. Required behaviors follow from the stated expectation, while implied behaviors represent plausible expectations that still need confirmation.\nChoosing what to test\nDiscovering candidate behaviors is only part of the work. We still need to decide which claims deserve verification and what evidence would support them.\nConsider our central claim: A task manager can mark a task completed. What observations would convince us that this behavior works?\nWe might want evidence that:\n\nThe target task exists and begins in an active state.\n\nThe completion operation succeeds.\n\nA subsequent retrieval confirms the completed state.\n\nThese observations provide stronger evidence than checking the HTTP response code alone. They also illustrate the distinction between behavioral claims and test assertions. A behavioral claim describes an expectation about the system. An assertion describes an observation that helps establish whether the expectation has been satisfied.\nA useful habit\nOne of the things I like about ERI is how little machinery it requires. You can apply it during a design conversation, while reviewing a user story, or before writing an automated test.\nThe process begins with identifying the behaviors stated in the story (explicit). From there, we examine the conditions necessary to support those behaviors (required) and explore additional expectations suggested by the surrounding context (implied). The resulting collection of behavioral claims provides a starting point for deciding what evidence to collect and which tests to write.\nSome assumptions will require further investigation before we’re ready to write tests. ERI won’t eliminate ambiguity or guarantee complete coverage, but it provides a repeatable way to expose behavioral expectations and decide which ones deserve verification.\nEvery user story has more to tell us. ERI helps us find it.\nSubscribe now"
newsletter: "Signals from Our Futures Past"
newsletter_handle: "mamund"
newsletter_url: "https://usecommune.com/n/mamund"
author: "Mike Amundsen (@mamund)"
published: "2026-11-04T22:16:13.000Z"
canonical_url: "https://usecommune.com/n/mamund/a/three-questions-for-every-user-story"
markdown_url: "https://usecommune.com/n/mamund/a/three-questions-for-every-user-story.md"
chat_url: "https://usecommune.com/n/mamund/a/three-questions-for-every-user-story/chat"
source_url: "https://mamund.substack.com/p/three-questions-for-every-user-story"
body_source: "imported"
likes: 0
replies: 4
body_words: 967
---

# Three Questions for Every User Story

One of the challenges of software testing is deciding what to test. We spend considerable time developing testing frameworks and writing test scripts. But before that work begins, someone needs to decide which behaviors matter and what evidence would convince us that those behaviors work as expected.

[![](https://substackcdn.com/image/fetch/$s_!iDqm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f57c1ca-ec06-4c7e-b4c6-e598a2b20368_4618x3248.jpeg)](https://substackcdn.com/image/fetch/$s_!iDqm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f57c1ca-ec06-4c7e-b4c6-e598a2b20368_4618x3248.jpeg)

User stories offer a good starting point. They describe what people expect software to do, but rarely capture everything necessary to satisfy those expectations. How do we move from a short statement of intent to a useful collection of behavioral expectations?

I’ve been working with a simple approach I call **ERI: Explicit, Required, and Implied**. The idea is to examine each user story from three perspectives, looking for hidden and implied behaviors that deserve further attention via test cases.

[Subscribe now](https://mamund.substack.com/subscribe?)

## Start with a user story

Consider this example from an imaginary task management application:

> As a task manager, I want to mark a task completed so that I can distinguish completed work from active work.

We could immediately design an API operation such as PUT /tasks/{id}/status and write a test that sends a request and checks for a successful HTTP response. But what have we learned? A successful response tells us something about the interaction, but it doesn’t necessarily establish that the system satisfied the original expectation. There is more here than we might see upon first glance. In fact, I think there are several tests “hidden” in this simple user story.

## Three questions

Before writing tests, I find it useful to examine the story itself with a more critical or curious view. To do that, I ask three questions:

1. **Explicit:** What behaviors does the story directly describe?
2. **Required:** What additional behaviors must exist for the stated outcome to be satisfied?
3. **Implied:** What other behaviors might reasonably be expected, given the story and its context?

Each question offers a different perspective on the behavior of the system. Let’s apply them to our task management example.

## Explicit behaviors

Explicit behaviors appear directly in the story. For example, our user story gives us this behavioral claim:

**A task manager can mark a task completed.**

Notice that, for now, we’ve avoided mentioning HTTP methods, resource paths, or implementation details. We’re interested in understanding what the story claims about the system before deciding how that claim will be implemented or verified.

## Required behaviors

Next, we look for behaviors or conditions necessary to satisfy the explicit expectation. For example, the system needs to identify the task being completed.

**The system can identify the task targeted for completion.**

We also need some way to determine whether the operation succeeded.

**The completed state can be observed after the operation.**

These expectations carry consequences for API design and testing. What happens when the requested task doesn’t exist? How does the system represent successful completion? Can a client retrieve the resulting record and validate its state? The *required* category helps identify dependencies and supporting behaviors that deserve attention.

## Implied behaviors

The third question explores expectations suggested by the story and its context. For example, marking a task completed raises questions about how long that completed state should remain in effect.

**A completed task remains completed until another authorized action changes its state.**

We might also wonder whether completed tasks can be reopened or whether unsupported status changes should be rejected. These are reasonable questions, but the original user story doesn’t establish their answers.

An *implied* behavior is a candidate for investigation. It may reflect a domain rule, a common convention, or an assumption requiring confirmation. Applying ERI to a user story helps expose these questions before they become hidden assumptions in the implementation.

## From ERI to behavioral claims

Our examination of the user story has produced several candidate behaviors worth considering for testing.

[![](https://substackcdn.com/image/fetch/$s_!6CLX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d98b1b9-5226-4397-9df3-b43ba59f9482_636x280.png)](https://substackcdn.com/image/fetch/$s_!6CLX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d98b1b9-5226-4397-9df3-b43ba59f9482_636x280.png)

Here we’ve expanded a short user story into behavioral claims for review with domain experts, developers, and testers. Some of these may become formal requirements. Others may be rejected or deferred. The important point is that we’ve made these expectations visible.

The distinction between *required* and *implied* matters. Required behaviors follow from the stated expectation, while implied behaviors represent plausible expectations that still need confirmation.

## Choosing what to test

Discovering candidate behaviors is only part of the work. We still need to decide which claims deserve verification and what evidence would support them.

Consider our central claim: **A task manager can mark a task completed.** What observations would convince us that this behavior works?

We might want evidence that:

- The target task exists and begins in an active state.
- The completion operation succeeds.
- A subsequent retrieval confirms the completed state.

These observations provide stronger evidence than checking the HTTP response code alone. They also illustrate the distinction between behavioral claims and test assertions. A behavioral claim describes an expectation about the system. An assertion describes an observation that helps establish whether the expectation has been satisfied.

## A useful habit

One of the things I like about ERI is how little machinery it requires. You can apply it during a design conversation, while reviewing a user story, or before writing an automated test.

The process begins with identifying the behaviors stated in the story (explicit). From there, we examine the conditions necessary to support those behaviors (required) and explore additional expectations suggested by the surrounding context (implied). The resulting collection of behavioral claims provides a starting point for deciding what evidence to collect and which tests to write.

Some assumptions will require further investigation before we’re ready to write tests. ERI won’t eliminate ambiguity or guarantee complete coverage, but it provides a repeatable way to expose behavioral expectations and decide which ones deserve verification.

**Every user story has more to tell us. ERI helps us find it.**

[Subscribe now](https://mamund.substack.com/subscribe?)

***

## Discussion (4 replies)

Numbering shows the reply tree: `2.1` is a reply to `2`. Message text is reproduced verbatim as posted.

### 1. Mark Boyd (@markboyd) - 2026-11-09T11:56:33.323Z

If writing testing scenarios is something that AI could assist with (while deterministic tooling actually runs the test), could the ERI here be used to help AI design the tests?

### 2. Mike Amundsen (@mamund) - 2026-11-09T13:04:48.595Z

Yep. And, no surprise, I have been working on an AI coach that generates a suite of tests based on the ERI pattern. More on that soon.

### 3. Mark Boyd (@markboyd) - 2026-11-09T14:34:37.581Z

Ha, because of course you have. But im also seeing more existing testing tools offer to generate API testing scenarios with an AI feature, so i was wondering what those users would need to include in their prompt in those tools. Like could they cut and paste the three questions and then their table of how they had filled it out? Would that improve the quality of the testing tool's AI results do you think?

### 4. Mike Amundsen (@mamund) - 2026-11-10T16:09:44.376Z

Hmmm.... Interesting idea. I have not tried that yet and have added it to my explore list. 

Might have some feedback to share at API days/ FOST Paris in December
