InfoQ

News

Right-Size Your User Stories

Posted by Mark Levison on Feb 06, 2008 09:21 PM

Community
Agile
Topics
Agile Techniques ,
Customers & Requirements
Tags
User Stories
As experienced Agile practitioners know, getting your stories right is one of the most difficult aspects of the process. Pat Kua has recently written about a key question: How much detail should you put in your story?

A user story is a form of lightweight requirement that Agile projects use instead of long formal use cases. Use cases in all their detail don't adapt easily to changing customer needs. Instead, a user story provides just enough information to start a conversation between a developer and product owner. It's also the smallest piece of functionality that would provide value to the end user. Examples (from Mike Cohn's Advantages of User Stories for requirements) :

  • A user can post her resume to the web site.
  • A user can search for jobs.
  • A company can post new job openings.
  • A user can limit who can see her résumé.

Using Bill Wake's mnemonic, we INVEST in good stories: They're Independent, Negotiable, Valuable, Estimable, Small and Testable.

The trick, as Patrick says, is to know how much detail to write and when to write it. Too much detail early on and, like use cases, the story will have to be rewritten many times before it's implemented. Too little detail and the developers don't know what to plan for or implement. Patrick:

For stories that need to be implemented now, you want to have enough precision that allows developers and testers to be clear about what needs to be achieved. The waste of not having enough detail here is essentially rework in many of the downstream activities.

… For stories that need to be implemented in the distant future, you don't need the same level of detail. The waste of capturing too much detail too early is essentially rework at the analysis level.

So the answer is it depends: the further away a story is the less detail it should have. Only stories that are about to be tackled should have test cases and related details.

Read the full story: How much detail should you put in your story? on Pat Kua's site.

Related Sponsor

VersionOne is recognized by Agile practitioners as the leader in Agile project management tools. Companies such as Adobe, BBC, CNN, Dow, HP, IBM, Sony and 3M have turned to VersionOne to help deliver greater value to their customers.

No comments

Reply

Exclusive Content

Ruby.rewrite(Ruby)

In this RubyFringe talk, Reginald Braithwaite writes Ruby code to read, write, and rewrite Ruby. Demos include extending Ruby with conditional expressions, call-by-name and more.

Book Except and Interview : Aptana RadRails, An IDE for Rails Development

Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

Fast Bytecodes for Funny Languages

Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

Scott Ambler On Agile’s Present and Future

Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

Manager's Introduction to Test-Driven Development

Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

Structured Event Streaming with Smooks

Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

How to Work With Business Leaders to Manage Architectural Change

Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

Colors and the UI

In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.