Can Use Cases Replace User Stories?

User Stories are often characterized by relatively short, uncomplicated and informal descriptions, whereas Use Cases are often longer, more formally structured descriptions of not only the user need but also other details. Can Use Cases strike a balance between the need for agility and the need for more information, and if so, how?

Enough has been written about Use Cases in the context of Agile projects to save me having to restate the details here. For those of you wishing to refresh your memories, you can read about Use Cases and User Stories here on this site.

In outline, User Stories are often characterized by relatively short, uncomplicated and informal descriptions usually written by users or a product owner, whereas Use Cases are often longer, more formally structured descriptions of not only the user need but also other details including the participants (both people and systems), context, scope, exceptions, and end conditions. Consequently, Use Cases have a formality and level of detail that are not necessarily commensurate with Agile development.

However, Use Cases appeal to those looking for a way to record more information, or to organize the information obtained as part of the discovery process, something User Stories do not do well. Can Use Cases strike a balance between the need for agility and the need for more information, and if so, how?

Informal Use Cases?

A common suggestion is that Use Cases do not have to be so formal or detailed; in fact, they can be very brief and informal. The argument goes something like this, “If you start with minimal information, perhaps just the name of the goal, and write the detail just-in-time, you will still be Agile.” But if all we have is a goal, what makes it a Use Case?

Is an informal Use Case even a Use Case at all, or is it really a User Story? Very simple Use Cases look suspiciously like User Stories, e.g. The [actor] wants to [goal] so that [accomplishment]. So, let’s forget all the smoke and mirrors and call it like it is: simple, Agile-friendly Use Cases are User Stories. But this only leads to more questions. Can we use both? If we do choose to use both User Stories and Use Cases, who authors which? And when?

Let’s start with the question that is often glossed over, ‘who writes what?’ If high-level Use Cases are written by the product owner, then who adds the detail when they are selected for an iteration? Some advise that the product owner should flesh out the Use Cases, but to do so would leave the development team with too little involvement in the discovery process.

Agile Requirements Management is a Team Game

It is an essential aspect of Agile development that requirements elaboration, whether via User Stories or Use Cases, is performed by the whole development team so that everyone, including coders and testers, have the chance to explore the problem space first hand. Of course, even if the product owner provides complete and detailed Use Cases, the development team could still engage the stakeholders to cement their own understanding; however, effort is then being duplicated, again undermining Agile principles.

Also, when the product owner provides full Use Cases, there is the risk of role separation, resurrecting the concept of departmental silos, a very un-Agile concept. So, rather than one person laboring over the use cases, the team, including the product owner, should work together to discover the details of all the requirements.

A strong argument for User Stories is that their simplicity makes it easier to involve users, essential in Agile development. On the other hand, a strong argument for Use Cases is that they offer a convenient structure for recording essential detail. The first benefit is important early in a project and the second is important later. This difference supports the argument that says if you do want to employ Use Cases, it is better to start the project with User Stories and then develop Use Cases from them later, as part of each iteration.


Agile User Stories

Agile Use Cases

Strengths

Weaknesses

Strengths

Weaknesses

Easy to write & change by users

 

 

Not so easy to write & change by users

Easily understood by users

 

 

Not so easy to understand

 

Unsuited to detail

Good framework for detail

 

Minimal documentation

 

 

Risk of too much documentation

Easy to include acceptance criteria

 

 

Less suited to acceptance criteria

Summary: Ideal for backlog

Summary: Ideal for development

One other argument in favor of User Stories is that they can convey things a Use Case cannot. For example, non-functional requirements such as performance or scalability are difficult to fit into the Use Case format, whereas the informality of User Stories makes such inclusions easier.

From User Stories to Use Cases

The conclusion is that Use Cases offer value to Agile projects, not as a replacement for User Stories but as a way to expand on them once they are selected for the next iteration. The available literature on the subject seems to focus on the problematic use of strict Use Case formats when in fact, the important point is not what is done, but who does it.

You may also be interested in:
Use Cases and Scenarios
User Stories
Agile Myths - Part 2: User Stores, Use Cases and Requirements are all Totally Different
Documenting Requirements in Agile Projects

Agile User Stories Use Cases Requirements Management

About Inflectra

Our mission to helping our customers - large corporations, small businesses, professional services firms, government agencies and individual developers – with the means to effectively and affordably manage their software development and testing lifecycles, so as to decrease the time to market and increase return on investment.

At Inflectra, we are fully committed to provide our customers with the very best products and customer service. We believe in going the extra mile to ensure that each customer is satisfied with our software products. We have the experience and the commitment to deliver the products customers need to deliver their projects and assure quality every step of the way. (Learn More)

Our Guarantee

We are so confident that you will be fully satisfied with our products that we offer a 30-day, unconditional, money back guarantee! (Learn More)