\n
Weekly Newsletter | \n\n | April , 2024 | \n
\n | \n Agile now drives 70% of software development teams, and a critical part of Agile is user stories and acceptance criteria. \nHowever, most software engineers struggle with creating effective stories. Storywriting & grooming are seen as unnecessary processes keeping you from writing code. \n\n\n\n\n\n \n
Good user stories help streamline development and clarify objectives, substantially speeding up project timelines. \nConversely, poorly crafted stories slow progress, necessitating frequent revisions and stifling team growth. \nToday, I will show you how to write and groom user stories that are easy to understand and deliver value for your customers. \nThe Anatomy of a User Story\nA user story generally includes a title, description, and acceptance criteria (AC). These three components clearly explain what will be delivered to the customer, whether internal or external. \n
Here is an example using the popular Connextra format: \n\n \nTitle: \nImplement Date Range Filter for User Search Results \n \nDescription: \nAs a customer success rep, \nI want to filter user search results by a specific date range \nso that I can more efficiently find users that have signed up within a specified period. \n \nAcceptance Criteria: \n1. Include 'Start Date' and 'End Date' filters on the search page. \n2. Use the calendar pop-up component to select dates. \n3. Prevent setting an 'End Date' earlier than the 'Start Date' and show an error if attempted. \n4. Only show results within the chosen date range after applying the filter. \n5. Display \"No results found for the selected date range\" if no matches are found. \nAs you can see, this story clearly communicates what needs to be done and the value it provides to the user. This story will be easy for the team to accurately estimate and complete. \nComparing a Good & Bad User Story\nThe best way to see the value of well-written user stories is by comparing good and bad examples. Let's take our previous example and compare it to this: \n\n \nTitle: \nAdd Date Filter to Search \n \nDescription: \nWe need to add a date filter so we can find user signups. \n \nAcceptance Criteria: \n1. Date filters are on search page. \n2. Use a date picker. \n3. Dates should make sense. \n4. Tell the user if nothing shows up. \nThe well-written example clearly explains what users will use this feature and why they need it. Conversely, the poorly written example lacks context. \nThis lack of context continues into the acceptance criteria. Little differences in the AC can make a big difference when estimating & implementing the feature. \nThe first example communicates that a common date-picker component should be used. Knowing that information will allow the developer working on the story to avoid finding & implementing a date-picker library that already exists, saving time and rework down the road. \nVague or incomplete stories can lead to confusion and misinterpretation. In contrast, detailed and clear stories align the team's understanding and expectations. \nHow to Write Better User Stories\nThere are a few simple ways to write better user stories: \n
\n While user stories are generally seen as a necessary evil, it's important to remember that they serve a key purpose in an Agile team: To provide alignment and clarity on the work being completed. \nIf done well, user stories can actually help improve efficiency and quality. How do you approach story writing and grooming? And how can you use the story writing process to become a leader within your team? Let me know by replying to this email. And, as always, that you for reading. \n\n\n\n\n\n\n \n
| \n\n |
\n | \n \n\n\n\n\n \n
\n Follow MoreThanCoders\n\n | \n\n |
\n | \n Was this forwarded to you? Sign up here. \n\n 113 Cherry St #92768, Seattle, WA 98104-2205 | \n\n |
Learn practical, straightforward methods to boost your soft skills and enhance your career as a software engineer because you are so much more than a developer.
|
Learn practical, straightforward methods to boost your soft skills and enhance your career as a software engineer because you are so much more than a developer.