User Stories Much taken from User Stories Applied

  • Slides: 12
Download presentation
User Stories Much taken from User Stories Applied: For Agile Software Development Mike Cohn

User Stories Much taken from User Stories Applied: For Agile Software Development Mike Cohn Mountain Goat Software 1 -1

Where are we? ¨ Found some objects and major responsibilities ¨ Understand a desired

Where are we? ¨ Found some objects and major responsibilities ¨ Understand a desired system better ¨ Did some role play on one scenario — User plays one song, start to finish ¨ Understand the system from a high level ¨ Used a few design heuristics to more properly place responsibilities ¨ Next up. . . User Stories to capture requirements 1 -2

User Stories ¨ Extreme programming (XP) introduced the practice of expressing requirements in the

User Stories ¨ Extreme programming (XP) introduced the practice of expressing requirements in the form of user stories ¨ User stories are short descriptions of functionality–told from the perspective of a user– that are valuable to either a user of the software or the customer of the software 1 -3

A few Example User Stories ¨ The following are typical user stories for a

A few Example User Stories ¨ The following are typical user stories for a job posting and search site: —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é 1 -4

User Stories ¨A user story describes functionality that will be valuable to either a

User Stories ¨A user story describes functionality that will be valuable to either a user or purchaser of the system ¨ User stories are traditionally written on an index card when the team and customers are communicating — They will be written now as a line of text • in the slides that follow, and • in the project specification. 1 -5

Aspects of a User Story ¨A user story is composed of three aspects: —

Aspects of a User Story ¨A user story is composed of three aspects: — Written description of the story, used for planning and as a reminder — Placeholder for future conversations among the user, customer, and developer • User: You, me, section leaders, maybe you can sell it? • Customer: Rick • Developer: You — Tests that convey and document details that can be used to determine when a story is complete 1 -6

In team of 2 or 3, write five user stories for the Cashless Jukebox

In team of 2 or 3, write five user stories for the Cashless Jukebox we'll collate them in 10 minutes The student affairs office want to put some newfound activity fee funds toward a Jukebox in the student center. The Jukebox must allow students to play a song. No money will be required. Instead, a student will swipe a magnetic ID card through a card reader, view the song collection and choose a song. Students will each be allowed to play up to 1500 minutes worth of "free" Jukebox music in their academic careers, but never more than two songs on any given date. No song can be played more than five times a day*. *What a drag it would be to hear "Dancing Queen" 14 times while eating lunch (apologies to ABBA) 1 -7

User stories for the Cashless Jukebox ¨ Example 1. Songs can be played up

User stories for the Cashless Jukebox ¨ Example 1. Songs can be played up to 5 times per day 1 -8

Some User Stories for the Cashless Jukebox 1. A user can select a Song

Some User Stories for the Cashless Jukebox 1. A user can select a Song from the collection of songs 2. Songs can be played up to 5 times per day 3. User can hear audio files play 4. Any user can play up to 2 songs per day 5. Jukebox can find a user given an ID 1 -9

Other Stories? ¨ When originally planned as an in-class demo, there were other user

Other Stories? ¨ When originally planned as an in-class demo, there were other user stories that seemed valuable to the students and the customer — We can pick some, eliminate others 1 -10

Do These Seem reasonable? 5. Notify Student the song is not selectable 6. The

Do These Seem reasonable? 5. Notify Student the song is not selectable 6. The system should be able to queue songs on a FIFO basis 7. Show the play list (queue) to help users decide what to do 8. Have a nice GUI interface 9. User can swipe card 1 -11

Seem reasonable? 10. Students see their account status 11. Students can see how long

Seem reasonable? 10. Students see their account status 11. Students can see how long all songs in the queue would play 12. Administrator can add and remove Students 13. Administrator can add and remove songs 14. Use this for "Web. Radio" 15. The system should be able to play mp 3 s 1 -12