User stories
a practical introduction

Marcus Hammarberg
The application
should work
krav.doc
fine
http://www.youtube.com/aptitudsthlm
Bandung
http://4.bp.blogspot.com/_HAjZsLKwoHM/S7jPnPD57PI/AAAAAAAAAgY/pqr7zqRJ0ys/s1600/30-scout_promise.gif
http://www.adem.arkansas.gov/ADEM/Divisions/Preparedness/Planning/Images/Planning.jpg
http://faithoncampus.com/wp-content/uploads/2010/12/conversations-large.jpg
Tests
as
documentation
WHAT
HOW
User story
≠
Requirements
Why?

Why?

Why?
Why?

Why?

Why?
http://www.irtc.org/ftp/pub/stills/2003-08-31/dali.jpg
http://ydre1952.files.wordpress.com/2011/01/bc3a4st-fc3b6re-datum.jpg
§
As a [role]
I want [feature]
So that [benefit]
As a [role]
I want [feature]
So that [benefit]
so that [benefit]
In order to [benefit]
As a [role]
I want [feature]
In order to keep track of my
savings
As a saver in the bank
I want a simple overview over all
my savings accounts
In order to protect my
economical status
As an user of the bank
I want to log in using twitter
http://www.moneyandshit.com/wp-content/uploads/2011/04/wat.jpg
Verbal communication
Everybody get them
Right sized
Iterative, incremental
development
User interface
Business logic

Data access
User interface
Business logic

Data access
User interface
Business logic

Data access
User interface
Business logic

Data access
User interface
Business logic

Data access
http://www.flickr.com/photos/puuikibeach/3435696039/sizes/l/in/photostream/

Encourage us to wait
with details
Rolling wave planning
“They don’t know what they
want”
How to write a
great user story
http://jenniferdawnbrody.com/wp-content/uploads/2011/12/ink-pen.jpg
INVEST
INVEST
Independent
INVEST
Independent
Negotiable
INVEST
Independent
Negotiable
Valuable to users or customers
INVEST
Independent
Negotiable
Valuable to users or customers
Estimable
INVEST
Independent
Negotiable
Valuable to users or customers
Estimable
Small
INVEST
Independent
Negotiable
Valuable to users or customers
Estimable
Small
Testable
Divide
&
Conquer
Roller

http://www.flickr.com/photos/xjrlokix/3932488768/sizes/l/in/photostream/
Begin with the goal!
User story slicing

http://www.flickr.com/photos/slurm/3546246044/sizes/l/in/photostream/
Yes, it can be done
Write stuff that can
be done

http://www.triathlonwoerden.nl/content/24501/news/clnt/3298551_1_org.jpg
Note any limitations

http://www.flickr.com/photos/ajnabee/16141492/sizes/l/in/photostream/
Avoid GUI description
In order to [benefit]
As a [role]
I want [feature]
Practical exercises
Diverge and merge
Gathering
user stories

http://3.bp.blogspot.com/-_j18vwcNcuY/Tk-WDYlM3II/AAAAAAAABso/jsN6So-YJbQ/s1600/Easter%2Begg%2Bhun...
Workshops

http://www.pivotaldrama.com/images/drama.chat.jpg
3 amigos

http://www.lastfm.se/music/The+Three+Amigos
User story mapping

http://www.agileproductdesign.com/presentations/user_story_mapping/index.html
How do they know
what they want?
Why?

How do they know
what they want?
Why?
Who?

How do they know
what they want?
Why?
Who?
How?
How do they know

what they want?
Why?
Who?
How?
How do they know

what they want?

What?
http://impactmapping.org/
Estimating
How big is this rock?

http://imgcache.ifans.com/forums/imgcache/13714.png
Now compare

http://www.stonetohome.com/media/gbu0/prodlg/Yorkstone%20Rockery.jpg

http://imgcache.ifans.com/forums/imgcac...
Story points
T-shirt sizes
S

M

L

http://www.hungerprojektet.se/2011/09/vill-du-synas-pa-min-troja/t-shirt/
Planning poker
Where !
should !
this go?
http://www.flickr.com/photos/ell-r-brown/3621911160/sizes/l/in/photostream/
Estimates are wasteful
!

Estimating is not
#NoEstimates	

http://bit.ly/noestimates
Planning
Time

Features

Resources
Planning
Quality

Features

Time

Resources
Sprint planning
Sprint planning
When do we want 	

to be done?

Time
Sprint planning
When do we want 	

to be done?

Time

Who are in the
team?

Resources
Sprint planning
When do we want 	

to be done?

Time

Who are in the
team?
Which features will	

we manage?
Features

Reso...
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Burndown
100 points

0 points
Start

End
Test i user stories
Vad är klar?
Goal in agile testing
Not to find bugs	

!

Make sure bugs never	

comes in in 	

the first place
Write tests before coding
Summing up
As a [role]
I want [feature]
So that [benefit]
www.marcusoft.net	

@marcusoftnet	

marcus.hammarberg@aptitud.se
www.marcusoft.net	

@marcusoftnet	

marcus.hammarberg@aptitud.se
Recording of this talk	

http://www.youtube.com/
aptitudsthlm
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
User stories - an introduction
Upcoming SlideShare
Loading in …5
×

User stories - an introduction

1,763 views

Published on

These are the slides for my User stories presentation. This particular version was given as part of my "I'm telling you for the last time"-series (see http://www.marcusoft.net/2013/11/ImTellingYou.html).

The presentation was recorded and can be found here: http://www.youtube.com/aptitudsthlm

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total views
1,763
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
58
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

User stories - an introduction

  1. 1. User stories a practical introduction Marcus Hammarberg
  2. 2. The application should work krav.doc fine
  3. 3. http://www.youtube.com/aptitudsthlm
  4. 4. Bandung
  5. 5. http://4.bp.blogspot.com/_HAjZsLKwoHM/S7jPnPD57PI/AAAAAAAAAgY/pqr7zqRJ0ys/s1600/30-scout_promise.gif
  6. 6. http://www.adem.arkansas.gov/ADEM/Divisions/Preparedness/Planning/Images/Planning.jpg
  7. 7. http://faithoncampus.com/wp-content/uploads/2010/12/conversations-large.jpg
  8. 8. Tests as documentation
  9. 9. WHAT HOW
  10. 10. User story ≠ Requirements
  11. 11. Why? Why? Why? Why? Why? Why?
  12. 12. http://www.irtc.org/ftp/pub/stills/2003-08-31/dali.jpg
  13. 13. http://ydre1952.files.wordpress.com/2011/01/bc3a4st-fc3b6re-datum.jpg
  14. 14. §
  15. 15. As a [role] I want [feature] So that [benefit]
  16. 16. As a [role] I want [feature] So that [benefit] so that [benefit]
  17. 17. In order to [benefit] As a [role] I want [feature]
  18. 18. In order to keep track of my savings As a saver in the bank I want a simple overview over all my savings accounts
  19. 19. In order to protect my economical status As an user of the bank I want to log in using twitter
  20. 20. http://www.moneyandshit.com/wp-content/uploads/2011/04/wat.jpg
  21. 21. Verbal communication
  22. 22. Everybody get them
  23. 23. Right sized
  24. 24. Iterative, incremental development
  25. 25. User interface Business logic Data access
  26. 26. User interface Business logic Data access
  27. 27. User interface Business logic Data access
  28. 28. User interface Business logic Data access
  29. 29. User interface Business logic Data access
  30. 30. http://www.flickr.com/photos/puuikibeach/3435696039/sizes/l/in/photostream/ Encourage us to wait with details
  31. 31. Rolling wave planning
  32. 32. “They don’t know what they want”
  33. 33. How to write a great user story http://jenniferdawnbrody.com/wp-content/uploads/2011/12/ink-pen.jpg
  34. 34. INVEST
  35. 35. INVEST Independent
  36. 36. INVEST Independent Negotiable
  37. 37. INVEST Independent Negotiable Valuable to users or customers
  38. 38. INVEST Independent Negotiable Valuable to users or customers Estimable
  39. 39. INVEST Independent Negotiable Valuable to users or customers Estimable Small
  40. 40. INVEST Independent Negotiable Valuable to users or customers Estimable Small Testable
  41. 41. Divide & Conquer
  42. 42. Roller http://www.flickr.com/photos/xjrlokix/3932488768/sizes/l/in/photostream/
  43. 43. Begin with the goal!
  44. 44. User story slicing http://www.flickr.com/photos/slurm/3546246044/sizes/l/in/photostream/
  45. 45. Yes, it can be done
  46. 46. Write stuff that can be done http://www.triathlonwoerden.nl/content/24501/news/clnt/3298551_1_org.jpg
  47. 47. Note any limitations http://www.flickr.com/photos/ajnabee/16141492/sizes/l/in/photostream/
  48. 48. Avoid GUI description
  49. 49. In order to [benefit] As a [role] I want [feature]
  50. 50. Practical exercises Diverge and merge
  51. 51. Gathering user stories http://3.bp.blogspot.com/-_j18vwcNcuY/Tk-WDYlM3II/AAAAAAAABso/jsN6So-YJbQ/s1600/Easter%2Begg%2Bhunt.jpg
  52. 52. Workshops http://www.pivotaldrama.com/images/drama.chat.jpg
  53. 53. 3 amigos http://www.lastfm.se/music/The+Three+Amigos
  54. 54. User story mapping http://www.agileproductdesign.com/presentations/user_story_mapping/index.html
  55. 55. How do they know what they want?
  56. 56. Why? How do they know what they want?
  57. 57. Why? Who? How do they know what they want?
  58. 58. Why? Who? How? How do they know what they want?
  59. 59. Why? Who? How? How do they know what they want? What?
  60. 60. http://impactmapping.org/
  61. 61. Estimating
  62. 62. How big is this rock? http://imgcache.ifans.com/forums/imgcache/13714.png
  63. 63. Now compare http://www.stonetohome.com/media/gbu0/prodlg/Yorkstone%20Rockery.jpg http://imgcache.ifans.com/forums/imgcache/13714.png
  64. 64. Story points
  65. 65. T-shirt sizes S M L http://www.hungerprojektet.se/2011/09/vill-du-synas-pa-min-troja/t-shirt/
  66. 66. Planning poker
  67. 67. Where ! should ! this go?
  68. 68. http://www.flickr.com/photos/ell-r-brown/3621911160/sizes/l/in/photostream/
  69. 69. Estimates are wasteful ! Estimating is not
  70. 70. #NoEstimates http://bit.ly/noestimates
  71. 71. Planning Time Features Resources
  72. 72. Planning Quality Features Time Resources
  73. 73. Sprint planning
  74. 74. Sprint planning When do we want to be done? Time
  75. 75. Sprint planning When do we want to be done? Time Who are in the team? Resources
  76. 76. Sprint planning When do we want to be done? Time Who are in the team? Which features will we manage? Features Resources
  77. 77. Burndown 100 points 0 points Start End
  78. 78. Burndown 100 points 0 points Start End
  79. 79. Burndown 100 points 0 points Start End
  80. 80. Burndown 100 points 0 points Start End
  81. 81. Burndown 100 points 0 points Start End
  82. 82. Burndown 100 points 0 points Start End
  83. 83. Burndown 100 points 0 points Start End
  84. 84. Burndown 100 points 0 points Start End
  85. 85. Test i user stories
  86. 86. Vad är klar?
  87. 87. Goal in agile testing Not to find bugs ! Make sure bugs never comes in in the first place
  88. 88. Write tests before coding
  89. 89. Summing up As a [role] I want [feature] So that [benefit]
  90. 90. www.marcusoft.net @marcusoftnet marcus.hammarberg@aptitud.se
  91. 91. www.marcusoft.net @marcusoftnet marcus.hammarberg@aptitud.se
  92. 92. Recording of this talk http://www.youtube.com/ aptitudsthlm

×