The Art of Storytelling


Published on

Published in: Business
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Picture:
  • Acknowledgments:Mike Cohn’s User stories applied and Agile Estimation and Planning. Jeff Patton’s work on User Role Modeling.
  • Mike Cohn:simple, clear, short description of customer valued functionality 3 parts: written description used for planning, conversation to flesh out details, tests to determine completeness.Ron Jefferies: 3Cs - Card, conversation, confirmation.Rachel Davies: user story represents customer requirements rather than documents them.
  • Template: As a type of user, I can achieve some goal so that I can gain some value.Add a title, some notes, assumptions, constraints, priority, estimate.
  • Examples
  • On the back, we add acceptance criteria.Use this template for acceptance tests: Given [context] And [some context] When [event] Then [outcome] And [another outcome].Or simpler version of verify or test.
  • Examples
  • Too much info. Running out of room?
  • Tom Poppendieck advises us to use smaller card.User story covers the who, what and why? It does not cover how? That is where the conversation comes in.
  • The main purpose of a story is to act as a reminder and encourage conversation to flush out details the closer we are to implementing a story.Business, PM, Developer, TesterPicture :
  • IEEE 830: The system shall…1000 requirements in Excel, become 30 functional specs, each about 50 pages.Hand it over to the developers and testers (1500 pages).Process is tedious, error prone, time consuming, boring, hard to see the big picture, hard to prioritize, not goal focused (task oriented). Use cases do a better job at putting things in context, but are still too detailed to adapt to changing customer need.They are bigger, larger in scope, there is the main scenario and then the extensions, pre/post conditions. They act more as an agreement between customer and developer rather than a forum for conversation.
  • User stories directly support the Agile manifesto:User stories support focusing on working software over comprehensive documentation.Conversation supports individuals and interactions and customer collaboration.Brevity and high level of user story supports responding to change.
  • Emphasize verbal rather than written communication.Encourage conversation, face to face discussions as opposed to document handoffs.
  • Encourage deferring details until you have better understanding about what you really need.Avoids unnecessary detailed planning which might change by the time we reach development time.
  • Provide right size for planning.High level, focus on value and can be prioritized.
  • Comprehensible by customers and developers.Picture:
  • Works for iterative development.Start at high leveland flush out details with each iteration and repeat.
  • Use human user. Write story from user’s perspective and understand his goal and value for the story.Avoid using generic as a user or as a customer. Think of role as group of users that share common characteristics and based on those characteristics their interactions with system will be different. Think penny pinching college student, busy corporate lawyer, or juggling mother of 3. Try to profile roles and figure out how often will they use the system, how much domain knowledge do they have, are they technically savvy, what is their goal? Pain points?Use extreme users. Extreme users are not really target audience, but simply bringing them up can produce different context and lead to interesting discussion. For example, think of the Pope. Or think of a hacker.As a hacker, I can access customer’s payment information to pay for my vacation.Picture:
  • More examples
  • More examples
  • Bill Wake - Invest acronym: Independent, negotiable, valuable, estimatable, small, and testable. Picture:
  • Independent: try to make sure that stories are not interdependent as this might lead to prioritization and planning problems.Independent is different from logical order of developing things. By independent, we mean story features. For example, in earlier credit card example, we wanted to support amex, mc and visa. If there are 2 stories, one for mc and another for visa, then estimates will depend on which one gets done 1st because implementing the 2nd will be relatively straight forward.Options are to combine the stories, or split in a different way (discussed later).If for some reason dependency cannot be removed, then provide 2 estimates on each story, one for each order combination.
  • Negotiable: Brief and not a detailed contract.Encourage conversation and negotiation between customer and developers.Picture:
  • Valuable: Provide value to the customer or the user.Start with goal stories and break it out from there.Standish Group: 64% of features are never or rarely used in reality.Ensure value is written. If customer cannot think of value, then they might see work as unnecessary and eliminate it.If value is clearly specified, team might find different ways to achieve same goal with same value but with less effort.Because story is delivering piece of functionality, customer can figure out how much functionality costs and then decide if they still need it.Not all value is monetary, mitigating risk is value.As a [type of user] I want [some functionality] to avoid [some operational risk, process weakness, ...]
  • Estimatable:Developers need to estimate story.Story needs to be written so developers can understand it and have idea of how to implement it.Reasons we can’t estimate are lack of domain knowledge, lack of technical knowledge, or too big.Picture:
  • Small: Not too big, not too small, but just right (1 story half the iteration length).Provide focus and short horizon for the team. Its easier to get lost in the details with larger story.Easier to adapt and give flexibility to reconfigure and adapt to changes.Large stories increase risk that team will deliver nothing at end of iteration.Large stories cancreate blockages and bottlenecks. One person who is tied up in large story may also be only person who can complete key piece of another story.Picture:
  • Testable: Need to verify that story is complete.Make sure there is acceptance criteria.Non-testable stories usually occur with non-functional requirements: Ease of use, fast, bug free.Try to re-write so that some metric can be measured and test can be written (ideally automated). Example: Test that system responds in 1 second or less at least 95% of the time.Picture:
  • DependencyStory dependent on another story makes it hard to give correct estimate.Split so one story handles dependency and other handle specifics.Picture:
  • Size – Too bigCannot give accurate estimate: Story needs to be more manageable and enable more accurate estimate.Cannot fit into iteration: If for example iteration is 1 week long and story is longer than week then it needs to be split to fit into iteration.Cannot fit into what’s remaining of iteration: Team has already committed to 38 story points and there is still room for 2 point story but remaining stories are 3 story points or more.Picture:
  • Risk:If complex and risky, split to create spike story which is experimental in nature with main goal to gain technical knowledge.Picture:
  • Story contains multiple sub stories that are large enough to stand out on their own.
  • Combine many small items onto one larger story.Example: Bug reports can be combined into one “Fix Bugs” story.
  • Slice Vertically: Stories should represent some level of end to end functionality. This reduces overall risk and delivers value to customer.Do simplest thing that could possibly work.Important to not split stories into tasks like design, code front end, code middle tier, code back end.Better to deliver cohesive subset of all layers of feature than delivering all of one layer as standalone.Having entire backend ready without corresponding GUI is not very useful.Having feature that allows user to add entity through GUI and have it persisted is functionality that can be useful and provides some value.
  • Data Boundaries: Separate local requirements from international requirement.Handling one type of credit card from another.Start with USD then add foreign currency.Picture:
  • Operational boundaries:CRUD boundaries.Separating into search which returns search result count and then search display which displays actual results.Happy path 1st , exceptions next.Picture:
  • Cross Cutting Concern: Features that effect multiple aspects of the application like security, logging, error handling can each be separated out of main functionality features.Screen with different menu options based on the login user’s credentials.Security specific feature can be split from main functionality of screen.Picture:
  • Performance constraints:Split functional requirement from non functional requirements.Example: Feature can be enabled without caching and then another story can handle caching specifics.Picture:
  • Priority:Multiple priorities within a story.Login story might have different priorities for authentication than for handling error conditions like locking out user after multiple logins.Necessity: Minimum needed to get working software.Flexibility: What are some alternative ways of doing it, what additional data we want to capture.Safety: Better validation rule to avoid ugly error messages.Comfort, luxury, and performance: More usable, sexier to look at (animation), hot keys.Opening game: Skeleton spans system and contains necessary features2. Mid game: Add capability, flexibility and safety3. End game: Finish with usability, performance, sex appeal and reserve time for unforeseen additions and adaptationsPicture:
  • Contact me
  • The Art of Storytelling

    1. 1. The Art of Storytelling<br />By Fadi Stephan<br />
    2. 2. AGENDA<br /><ul><li>User Story Basics
    3. 3. Advantages
    4. 4. Guidelines
    5. 5. Splitting Stories</li></li></ul><li>Mike Cohn<br />Jeff Patton<br />User Role Modeling<br />
    6. 6. What are User Stories?<br />
    7. 7. Simple, clear, short description of customer valued functionality.<br />3 C’s: Card, Conversation, Confirmation.<br />Represents customer requirements.<br />
    8. 8. Priority:<br />Title:<br />As a [type of user], I can [goal] so that [value]<br />Notes:<br />Assumptions:<br />Constraints:<br />Estimate:<br />
    9. 9. Checkout Using Credit Card<br />25<br />As a book shopper, I can checkout using my credit card so that I can purchase a selected book.<br />Notes: Support mc, visa, amex <br />Constraint: Must use Chase payment service<br />13 pts<br />
    10. 10. Given [context] <br />When [some event] <br />Then [outcome] <br />
    11. 11. Checkout Using Credit Card<br />Test with valid mc, visa, amex passes<br />Test with valid other cards fails<br />Test with expired card fails<br />Test with invalid cvv fails<br />Test with invalid zip fails<br />
    12. 12. Priority:<br />Title:<br />As a [type of user], I can [goal] so that [reason]<br />Notes:<br />Assumptions:<br />Constraints:<br />Estimate:<br />
    13. 13. Title:<br />Priority:<br />As a [type of user], I can [goal] so that [reason]<br />Notes:<br />Assumptions:<br />Estimate:<br />Constraints:<br />“Get smaller cards”<br />
    14. 14. How do I describe what I want?<br />How do I schedule this work and track its progress?<br />How do I validate that this work is done?<br />What are the details of what I need to code?<br />
    15. 15. <ul><li>Short Description
    16. 16. Customer Value
    17. 17. Acceptance Criteria
    18. 18. Estimate and Priority
    19. 19. Assumptions
    20. 20. Constraints
    21. 21. Conversation</li></ul>Questions?<br />
    22. 22. Why Use User Stories?<br />
    23. 23. Other Options<br />The system shall…<br />Use Cases<br />
    24. 24.
    25. 25. Verbal Communication <br />
    26. 26. Defer Details<br />
    27. 27. Right Size<br />
    28. 28. Understandable<br />
    29. 29. Iterative Development<br />
    30. 30. <ul><li>Verbal Communication
    31. 31. Defer Details
    32. 32. Right Size
    33. 33. Understandable
    34. 34. Iterative Planning</li></ul>Questions?<br />
    35. 35. User Role Modeling<br />
    36. 36. As a forgetful user, I can reset my password so that I can access my account.<br />
    37. 37. As a customer support manager, I can automate password resets so that I can reduce support calls.<br />
    38. 38. <ul><li>Human Users
    39. 39. Characteristics
    40. 40. Extreme Users</li></ul>Questions?<br />
    41. 41. INVEST<br />
    42. 42.
    43. 43. Negotiable<br />
    44. 44. Valuable<br />
    45. 45. Estimatable<br />
    46. 46. Small<br />
    47. 47.
    48. 48. Questions?<br />Independent<br />Negotiable<br />Valuable<br />Estimatable<br />Small<br />Testable<br />
    49. 49. Splitting Stories<br />
    50. 50. Dependency<br />
    51. 51. Too Big<br />
    52. 52.
    53. 53. Compound<br />
    54. 54. Bugs<br />
    55. 55. Dependency<br />Too Big<br />Risk<br />Compound<br />Bugs<br />Questions?<br />
    56. 56. Slices<br />Vertical<br />
    57. 57. Data Boundaries<br />
    58. 58. Operational Boundaries<br />
    59. 59. Cross Cutting Concerns<br />
    60. 60. Performance<br />
    61. 61. Priority<br />
    62. 62. Data boundaries<br />Operational boundaries<br />Cross cutting concerns<br />Performance<br />Priority:<br />Necessity<br />Flexibility<br />Safety<br />Luxury<br />Questions?<br />
    63. 63.<br />
    64. 64. References<br />Agile Estimating and Planning, Mike Cohn<br />User Stories Applied, Mike Cohn<br />Mountain Goat Software:<br />Agile Product Design:<br />