top of page
hand-businesswoman-touching-hand-artificial-intelligence-meaning-technology-connection-go-

Writing a User Story in Agile

Writing a User Story in Agile:


Introduction:


One of the biggest challenges in software development is the nearly impossible task of gathering clear requirements and then getting those requirements to remain unchanged during code development.


One of the biggest advantages of using an agile approach to software development is that the requirements aren't set in stone, but instead are expected to change, with constant feedback from stakeholders and the business. Agile methodologies such as Scrum and extreme programming (XP) replace traditional, lengthy requirements documents with a prioritized product backlog made up of concise user stories, the details of which emerge closer to when the story is ready to be implemented.

" Ron succinctly described user stories in terms of the 3Cs - card, conversation, confirmation. "Card" is a reminder to keep your stories short. "Conversation" is a reminder that the story doesn't transmit everything in the context; most of the understanding of a user story comes from conversations between stakeholders and scrum teams. Finally, "confirmation" is a reminder that user stories should give you insight into what should be true when the problem the story describes is solved.

User stories are a fundamental building block in Agile methodologies, providing a simple and straightforward way to describe a software feature from an end user’s perspective. They focus on the value that the user will gain from the feature rather than getting bogged down in technical details. A user story is typically expressed in a simple sentence, following the format: “As a [type of user], I want [an action] so that [a benefit/a value].”


Steps to create effective user stories:


● Understand Your User: Start by identifying and understanding your user. Create personas that represent different user types for your product or service.


● Think of the “Who”: This is the first and, maybe, the most fundamental step. Before writing a User Story you should think about who the user is.


● Think of the “What”: Now we have a few groups of end users. The next step we do is define what functionality each group needs.


● Think of the “Why”: Finally, the last piece of our User Stories template is dedicated to a value that users get after performing an action.


● Discuss a Story: Once you have a User Story, it’s time to discuss it with your team. Make sure everyone understands what the User Story means and what needs to be done to complete it.


INVEST: The attributes of a solid user story


INVEST is an acronym that helps evaluate whether you have a high-quality user story. Here's how the attributes in the acronym apply to the story we’ve been working on.

I = Independent—Can this story be completed by the team? We want the team to be able to complete the whole story rather than be dependent on a different team to do the GUI, for example.

N = Negotiable—The story is not so detailed as to describe exactly how long the fields should be or give specifics about date formats and the like. Most likely there will be common routines or libraries that will allow the development team to implement in the way that makes the most sense for them.

V = Valuable—The product owner describes that the value being sought is the ability for the trainer to be able to advertise upcoming classes. This is clear in the "why" of the original statement and re-emphasized in the conversation.

E = Estimable—The team will ask enough questions and gather the details to feel confident in their ability to estimate the story.

S = Small—The team needs to feel confident that they’ll be able to complete the story within a sprint. If they do not, they might split the story. For instance, in our sample story, they may decide to make the ability to gather the student information be a different story and simply display information about the class for this story.

T = Testable—With clear acceptance criteria, both the happy path and error conditions can be tested.


Difference between user story and use case :


A user story is a simple and concise description of a feature from an end user’s perspective. It is typically expressed in a simple sentence, following the format: “As a [type of user], I want [an action] so that [a benefit/a value].” User stories are used in Agile methodologies to describe software features from an end user’s perspective and focus on the value that the user will gain from the feature rather than getting bogged down intechnical details. User stories deliberately leave out a lot of important details and are not documented to the same extreme as a use case.


A use case is a more detailed description of how a user or customer interacts with a system. It is a description of each of the ways a user may want to interact with a system, a device, or a piece of equipment. Use cases contain much more context and are designed to help teams understand how a user or customer interacts with a system. Creating detailed use cases is a much more in-depth process that’s designed to help teams structure all of the different functional requirements and determine the scope of the project.


References :



16 views0 comments

Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page