Summary of BDD and User Stories BDD emphasizes working with stakeholders to

Summary of bdd and user stories bdd emphasizes

This preview shows page 258 - 260 out of 517 pages.

Summary of BDD and User Stories BDD emphasizes working with stakeholders to define the behavior of the system being developed. Stakeholders include nearly everyone: customers, developers, managers, operators, .... User stories , a device borrowed from the HCI community, make it easy for nontechnical
Image of page 258
stakeholders to help create requirements. 3x5 cards , each with a user story of one to three sentences, are an easy and nonthreatening technology that lets all stakeholders brainstorm and prioritize features. The Connextra format of user stories captures the stakeholder, the stakeholder’s goal for the user story, and the task at hand. Self-Check 7.1.1. True or False: User stories on 3x5 cards in BDD play the same role as design requirements in plan-and-document. True. ELABORATION: User Stories and Case Analysis User stories represent a lightweight approach to use-case analysis , a term traditionally used in software engineering to describe a similar process. A full use case analysis would include the use case name; actor(s); goals of the action; summary of the use case; preconditions (state of the world before the action); steps occurring in the scenario (both the actions performed by the user and the system’s responses); related use cases; and postconditions (state of the world after the action). A use case diagram is a type of UML diagram (see Chapter 11 ) with stick figures standing in for the actors, and can be used to generalize or extend use cases or to include a use case by reference. For example, if we have a use case for “user logs in” and another use case for “logged-in user views her account summary”, the latter could include the former by reference, since a precondition to the second use case is that the user has logged in. 7.2 Points, Velocity, and Pivotal Tracker One way to measure the productivity of a team would be simply to count the number of user stories completed per iteration, and then calculate the average number of stories per week. The average would then be used to decide how many stories to try to implement each iteration. The problem with this measure is that some stories are much harder than others, leading to mispredictions. The simple solution is to rate each user story in advance on a simple integer scale. We recommend starting with a three-point scale: 1 for straightforward stories, 2 for medium stories, and 3 for very complex stories. (As you get experience with rating and completing stories, you can use a wider range.) The average is now of the number of points per iteration a team completes, which is called velocity . The backlog is the name of the collection of stories that have not yet been completed in this iteration. Fibonacci scale With more experience, the Fibonacci scale is commonly used: 1, 2, 3, 5, and 8. (Each new number is sum of previous two.) However, at places like Pivotal Labs, 8 is extremely rare.
Image of page 259
Image of page 260

You've reached the end of your free preview.

Want to read all 517 pages?

  • Spring '19
  • Dr.Marcos

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors