Upload
dominik-jungowski
View
4.405
Download
1
Embed Size (px)
DESCRIPTION
An introduction to Scrum focusing on its effects on product quality. (Updated version - Oct '10)
Citation preview
Dominik Jungowski | CHIP Xonio Online GmbH
Better Quality through Scrum
Montag, 11. Oktober 2010
About me
• 26 years old
• Working at CHIP Xonio Online GmbH
• Developer and ScrumMaster for price comparison
• Part - time studies in psychology at FernUni Hagen
Montag, 11. Oktober 2010
• What is Scrum?
• How Scrum works
• Meetings, Artifacts & Roles
• Definition of Done
• Bugs
• Deductions
• Scrum at CHIP
Agenda
Montag, 11. Oktober 2010
What is Scrum?
Montag, 11. Oktober 2010
Scrum is...
like a recipe
Montag, 11. Oktober 2010
Scrum is not...
Montag, 11. Oktober 2010
A classical team
Project manager
Stakeholder
Customer
Stakeholder
Customer
Developer
Developer
Developer
Developer
Montag, 11. Oktober 2010
A Scrum team
Product Owner
Stakeholder
Customer
Stakeholder
Customer
ScrumMaster
Developer
Developer
Developer
Team
Montag, 11. Oktober 2010
How Scrum works
Montag, 11. Oktober 2010
How Scrum works
• Agile project management
• Iterations („sprints“)
• Framework
• Inspect & Adapt
Montag, 11. Oktober 2010
How Scrum works
ProjectProduct Backlog
Sprint Product
Sprint Product
Sprint Product
Potentially shippable product after each sprint
Montag, 11. Oktober 2010
every dayregularly The Scrum Process
How Scrum works
Product Backlog
Es?ma?onMee?ng
Es?mated Product Backlog
Sprint Planning I Sprint Planning II
Daily Standup
Review Mee?ngRetrospec?ve Mee?ng
Sprint Backlog
Montag, 11. Oktober 2010
Meetings & Artifacts
Montag, 11. Oktober 2010
Meetings & Artifacts
• Maintained by the Product Owner
• Consists of user stories
• Prioritized
• Estimated in Estimation Meeting
Product Backlog
Montag, 11. Oktober 2010
Estimation MeetingWhat‘s about to come?
Montag, 11. Oktober 2010
Meetings & Artifacts
• User stories estimated in storypoints
• Estimated by whole team
• Knowing what will come
• Regularly
Es?ma?onMee?ng
Montag, 11. Oktober 2010
Meetings & Artifacts
Es?ma?onMee?ng
Montag, 11. Oktober 2010
Sprint Planning ISetting the goal
Montag, 11. Oktober 2010
Meetings & Artifacts
• Product Owner presents the Sprintgoal
• Product Owner presents the user stories
• Team pulls the user stories
• Acceptance criteria, etc. are written down
Sprint Planning I
Montag, 11. Oktober 2010
Sprint Planning IIHow to reach the goal
Montag, 11. Oktober 2010
Meetings & ArtifactsSprint Planning II
„The result of this mee/ng is, that everybody knows how the team can cope the tasks together. You do not decide on who does what.“
-‐ Boris Gloger, Scrum: Produkte zuverlässig und schnell entwickeln
Montag, 11. Oktober 2010
Meetings & Artifacts
• Tasks for selected user stories are generated
• Generated tasks take no longer than 8 hours / 1 workday
• Sprint Backlog is created
• Everybody knows about the „how“
Sprint Planning II
Montag, 11. Oktober 2010
Daily StandupWhere do we stand?
Montag, 11. Oktober 2010
Meetings & Artifacts
• Same time, same place, every day!
• Team sychronizes itself
• Sprint Backlog is updated
• Burndown Chart is updated
• Public
• Time for discussion afterwards
Daily Standup
Montag, 11. Oktober 2010
Meetings & Artifacts
• What have I done since the last standup?
• What will I do until the next standup?
• What‘s impeding me?
Daily Standup
Montag, 11. Oktober 2010
Montag, 11. Oktober 2010
Meetings & ArtifactsSprint Backlog
User Story To DoWork in Progress
Done
Task
Task Task Task
Task Task
Story 1
Story 2
Story 3
Montag, 11. Oktober 2010
Meetings & ArtifactsSprint Backlog
Montag, 11. Oktober 2010
Meetings & ArtifactsBurndown Chart
!"#
!$#
%&# %&# %&#
%'#
(#
')#
)# )#
)#
*#
')#
'*#
%)#
%*#
!)#
!*#
$)#
%(+),# !)+),# )$+')# )&+')# )(+')#
Montag, 11. Oktober 2010
Review MeetingLet‘s show the cake!
Montag, 11. Oktober 2010
Meetings & ArtifactsReview Mee?ng
„The Scrum-‐Team shows the results of their work to the End User. The team members want to have feedback. This feedback can be used to create or change Backlog Items.“
-‐ Scrum with Boris Gloger
Montag, 11. Oktober 2010
Meetings & Artifacts
• Only completed, working software is presented
• Slides are forbidden!
Nobody wants to eat half-done cake or (even worse) only see an image of it ;-) The cake is not a lie!
Review Mee?ng
Montag, 11. Oktober 2010
Retrospective MeetingImproving the cake
Montag, 11. Oktober 2010
Meetings & Artifacts
• Team reflects on last sprint
• „Learning from the past for the future“
• Output:
– Things the Team wants to improve
– Impediments
• Similar to a debriefing
Retrospec?ve Mee?ng
Montag, 11. Oktober 2010
Inspect & Adapt
Montag, 11. Oktober 2010
Tweaking your improvements
Montag, 11. Oktober 2010
Rat - Maze - ExperimentExperiment by Tolman & Honzik in 1930
3 groups / 17 days
Tweaking your improvements
Montag, 11. Oktober 2010
!"
#"
$"
%"
&"
'"
("
)"
*"
+"
#!"
#" $" %" &" '" (" )" *" +" #!" ##" #$" #%" #&" #'" #(" #)"
!"#$%&#'($$)$*'
+%,*'
-%.*'/'0%1#'/'(23#$45#6.'
,-./0"%"
Tweaking your improvements
Montag, 11. Oktober 2010
!"
#"
$"
%"
&"
'!"
'#"
'" #" (" $" )" %" *" &" +" '!" ''" '#" '(" '$" ')" '%" '*"
!"#$%&#'($$)$*'
+%,*'
-%.*'/'0%1#'/'(23#$45#6.'
,-./0"#"
,-./0"("
Tweaking your improvements
Montag, 11. Oktober 2010
!"
#"
$"
%"
&"
'!"
'#"
'" #" (" $" )" %" *" &" +" '!" ''" '#" '(" '$" ')" '%" '*"
!"#$%&#'($$)$*'
+%,*'
-%.*'/'0%1#'/'(23#$45#6.'
,-./0"'"
,-./0"#"
,-./0"("
Tweaking your improvements
Montag, 11. Oktober 2010
Reward your team!
Montag, 11. Oktober 2010
Have a BBQ!
Montag, 11. Oktober 2010
Roles
Montag, 11. Oktober 2010
Product Owner
• Responsible for the product
• Maintains the Product Backlog
• Has the vision
Montag, 11. Oktober 2010
Team
• Self - organized
• Delivers
• Delivers
• Delivers
Montag, 11. Oktober 2010
ScrumMaster
• Monitors the Scrum process
• Causes course correction
• Removes impediments
• Protects the team
Montag, 11. Oktober 2010
Impediments
• Disturb the team
• Hold back the team
• Impediment Backlog (like Sprint Backlog)
Montag, 11. Oktober 2010
Definition of Done
Montag, 11. Oktober 2010
Montag, 11. Oktober 2010
Definition of Done
User Story To DoWork in Progress
Done
Task
Task Tas Task
Task Task
Story 1
Story 2
Story 3
Montag, 11. Oktober 2010
Definition of Done
• Checklist
• Defines when Tasks can be moved to „Done“
• Defines when User Stories can be moved to „Done“
Montag, 11. Oktober 2010
Definition of Done
• Responsibility lies with the team
• Maintained by the team only
• Potentially shippable product every day
Montag, 11. Oktober 2010
Definition of Done
Example: DoD for Tasks
– Unit Tested
– Runs in the following browsers: Firefox, Internet Explorer, Chrome, Safari
– No broken unit tests
– Refactored
– Reviewed
Montag, 11. Oktober 2010
Definition of Done
Example: DoD for User Stories
– No broken unit tests
– Merged into trunk
• Additional criteria for specific user stories can be set in Sprint Planning I
Montag, 11. Oktober 2010
Bugs
Montag, 11. Oktober 2010
Bugs
• Put them on your Sprint Backlog
• Fix them immediately!
• Fixed at best until the next daily standup
• If possible: Don‘t use bugtrackers
Montag, 11. Oktober 2010
Bugs
User Story To DoWork in Progress
Done
Task
Task Tas Task
Task Task
Story 1
Story 2
Story 3
Bug
Montag, 11. Oktober 2010
Bugs
!"
#"
$!"
$#"
%!"
%#"
&!"
&#"
%" &" '" #" (" )" *" +" $!" $$" $&" $'" $#" $(" $)" $*" $+" %!" %$" %%" %&" %'" %#" %(" %)" %*" %+" &!" &$"
Montag, 11. Oktober 2010
Bugs
166,98
10,01
83,77
158,42
50,84
83,97 89,64
23,57
37,67
52,24
16,29 19,04
0
25,6
11,69
145,09
26,73 19,87
0,67 0
20
40
60
80
100
120
140
160
180
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Stu
nden
Montag, 11. Oktober 2010
Bugs
00.000
00.000
00.000
00.000
00.000
00.001
00.001
2 5 8 11 15 18 21 24 27 30
!"#$%&%'()*+,)-.(%
Montag, 11. Oktober 2010
Bugs
Example: DoD for Bugs
– Unit tested
– No broken unit tests
– Fixed in the following browsers: Firefox, Internet Explorer, Chrome, Safari
– Distributed to all web servers
Montag, 11. Oktober 2010
Bugs
What about old Bugtracker lists?
– Fix all the bugs or
– Delete the list
Montag, 11. Oktober 2010
Deductions
Montag, 11. Oktober 2010
Deductions
No upfront design constant refactoring
Montag, 11. Oktober 2010
Deductions
Working at the sameuser story Pair Programming
Montag, 11. Oktober 2010
Deductions
Code Reviews Pair Programming
Montag, 11. Oktober 2010
Deductions
Team commitment Collective Code Ownership
Montag, 11. Oktober 2010
Deductions
Pair Programming Collective Code Ownership
Montag, 11. Oktober 2010
Deductions
Nobody likes fixing bugs Test - DrivenDevelopment
Definition of Done
Fixing bugs immediately
Montag, 11. Oktober 2010
Deductions
Test - DrivenDevelopment
ContinuousIntegration
Montag, 11. Oktober 2010
Scrum at CHIP(Price comparison only)
Montag, 11. Oktober 2010
Bugs per Month
!"#$%&&&&&&'
(!#)(*****+'("#""""""""'
,'
$'
(,'
($'
!,'
!$'
&,'
!,,%'
!,,)'
!,(,'
Montag, 11. Oktober 2010
Items per Person
!"#$ %&"'$($
)$
&$
*$
'$
%($
%)$
%&$
%*$
+,-./$('$0$+12134$('$ +,-./$(5$0$+12134$(5$
Montag, 11. Oktober 2010
„Companies, managers should understand, that their employees want to work. Trust them, that they want to do a good job.“
hLp://feedproxy.google.com/~r/borisgloger-‐de/~3/U2zztp7jcW8/
Montag, 11. Oktober 2010
Questions?
Montag, 11. Oktober 2010
LiteratureKen Schwaber: „Agile Project Management with Scrum“
(Microsoft Press)
Montag, 11. Oktober 2010
LiteratureBoris Gloger: „Scrum: Produkte zuverlässig und schnell entwickeln“
(Hanser Fachbuch)
Montag, 11. Oktober 2010
LiteratureMike Cohn: „Succeeding with Agile: Software Development using Scrum“
(Addison-Wesley Signature)
Montag, 11. Oktober 2010
Developer for price comparisonand more - see www.chipxonio.de
We‘re hiring!
Montag, 11. Oktober 2010
Thank you!
Twitter: @djungowskiBlog: www.phpdevblog.net
Montag, 11. Oktober 2010