An Introduction To Scrum. The Agile Manifesto A Statement of Values
An Introduction To Scrum. The Agile Manifesto A Statement of Values
Presented by
Wayne Allen
1
Scrum in 100 words
• Scrum is an agile process that allows us to focus on
delivering the highest business value in the shortest
time.
• It allows us to rapidly and repeatedly inspect actual
working software (every two weeks to one month).
• The business sets the priorities. Teams self-organize
to determine the best way to deliver the highest priority
features.
• Every two weeks to a month anyone can see real
working software and decide to release it as is or
continue to enhance it for another sprint.
• Financial applications
• Websites
• ISO 9001-certified
• Handheld softw are
applications • Mobile phones
• Embedded systems • Netw ork switching applications
• 24x7 systems w ith 99.999% • ISV applications
uptime requirements • Some of the largest
• the Joint Strike Fighter applications in use
2
Characteristics
• Self-organizing teams
• Product progresses in a series of month-long
“sprints”
• Requirements are captured as items in a list of
“product backlog”
• No specific engineering practices prescribed
• Uses generative rules to create an agile
environment for delivering projects
• One of the “agile processes”
Scrum 24 hours
Sprint
2-4 w eeks
Sprint goal
Return
Sprint
Potentially shippable
Cancel
Return backlog product increment
Coupons
Gift w rap
Gift
Cancel
w rap Coupons
Product
backlog
3
Putting it all together
Sprints
• Scrum projects make progress in a series
of “sprints”
• Analogous to Extreme Programming iterations
4
Sequential vs.
overlapping development
Requirements Design Code Test
C hange
5
Scrum framework
Roles
•Product owner
•ScrumMaster
•Team Ceremonies
•Sprint planning
•Sprint review
•Sprint retrospective
•Daily scrum meeting
Artifacts
•Product backlog
•Sprint backlog
•Burndown charts
Scrum framework
Roles
•Product owner
•ScrumMaster
•Team Ceremonie
s•Sprint planning
•Sprint review
•Sprint retrospective
•Daily scrum meeting
Artifacts
•Product backlog
•Sprint backlog
•Burndown charts
6
Product owner
• Define the features of the product
• Decide on release date and content
• Be responsible for the profitability of the
product (ROI)
• Prioritize features according to market
value
• Adjust features and priority every iteration,
as needed
• Accept or reject work results
The ScrumMaster
• Represents management to the project
• Responsible for enacting Scrum values and
practices
• Removes im pediments
• Ensure that the team is fully functional and
productive
• Enable close cooperation across all roles and
functions
• Shield the team from external interferences
7
The team
• Typically 5-9 people
• Cross-functional:
• Programmers, testers, user experience designers, etc.
• Members should be full-time
• Ma y be exceptions (e.g., database administrator)
• Teams are self-organizing
• Ideally, no titles but rarely a possibility
• Membership should change only between sprints
Scrum framework
Roles
•Product owner
•ScrumMaster
•Team
Ceremonies
•Sprint planning
•Sprint review
•Sprint retrospective
•Daily scrum meeting
Artifacts
•Product backlog
•Sprint backlog
•Burndown charts
8
Team
Team
Sprint planning meeting
capacity
capacity
Sprint prioritization
Product
Product • Analy ze and evaluate product Sprint
Sprint
backlog goal
backlog
backlog
• Select sprint goal
goal
Business
Business
conditions Sprint planning
conditions
• Decide how to achieve sprint
goal (design)
Current
Current • Create sprint backlog (tasks)
Sprint
Sprint
product
product from product backlog items (user backlog
backlog
stories / features)
Technology
• Estimate sprint backlog in hours
Technology
Sprint planning
• Team selects items from the product backlog they can
commit to completing
• Sprint backlog is created
• Tasks are identified and each is estimated (1-16 hours)
• Collaboratively, not done alone by the ScrumMaster
• High-level design is considered
As
As aa vacation
vacation Code the middle tier (8 hours)
planner,
planner, II want
want to
to Code the user interface (4)
Write test fixtures (4)
see photos of the
see photos of the Code the foo class (6)
hotels.
hotels. Update performance tests (4)
9
The daily scrum
• Parameters
• Daily
• 15-minutes
• Stand-up
• Not for problem solving
• Whole world is invited
• Only team members, ScrumMaster, product
owner, can talk
• Helps avoid other unnecessary meetings
2
What
What will
will you
you do
do today?
today?
3
Is
Is anything
anything in
in your
your way?
way?
• These are not status for the ScrumMaster
• They are commitments in front of peers
10
The sprint review
• Team presents what it accomplished
during the sprint
• Typically takes the form of a demo of new
features or underlying architecture
• Informal
• 2-hour prep time rule
• No slides
• Whole team participates
• Invite the world
Sprint retrospective
• Periodically take a look at what is and is
not working
• Typically 15–30 minutes
• Done after every sprint
• Whole team participates
• ScrumMaster
• Product owner
• Team
• Possibly customers and others
11
Start / Stop / Continue
• Whole team gathers and discusses what
they’d like to:
Start
Start doing
doing
Stop
Stop doing
doing
This is just one
of many ways to
do a sprint Continue
Continue doing
doing
retrospective.
Scrum framework
Roles
•Product owner
•ScrumMaster
•Team Ceremonies
•Sprint planning
•Sprint review
•Sprint retrospective
•Daily scrum meeting
Artifacts
•Product backlog
•Sprint backlog
•Burndown charts
12
Product backlog
• The requirements
• A list of all desired work on
the project
• Ideally expressed such that
each item has value to the
users or customers of the
product
• Prioritized by the product
owner
• Reprioritized at the start of
This
This is
is the
the each sprint
product
product backlog
backlog
13
The sprint goal
• A short statement of what the work will be
focused on during the sprint
Life Sciences
Support features necessary for
Database Application population genetics studies.
14
Tasks
Tasks Mon
Mon Tues
Tues Wed
Wed Thur
Thur Fri
Fri
Code the user interface 8 4 8
Code the middle tier 16 12 10 7
Test the middle tier 8 16 16 11 8
Write online help 12
50
40
30
Hours
20
10
0
Mon Tue Wed Thu Fri
Scalability
• Typical individual team are 7 ± 2 people
• Scalability comes from teams of teams
• Factors in scaling
• Type of application
• Team size
• Team dispersion
• Project duration
• Scrum has been used on multiple 500+
person projects
15
Scaling through the
Scrum of scrums
16
Where to go next
• www.mountaingoatsoftware.com/scrum
• www.scrumalliance.org
• www.controlchaos.com
• [email protected]
17
.NET Tools
NUnit/MbUnit
18
TestDriven.NET
Resharper
19
NAnt
<?xml version="1.0"?>
<project name="Hello World" def ault="build" basedir=".">
Continuous Integration
CruiseControl.Net
Draco.Net
Hudson
FinalBuilder
20
NCover
NDepend
21
Simian
Similarity Analyser 2.1.2 -
http://www.redhillconsulting.com.au/products/simian/index.html
Copyright (c) 2003-04 RedHill Consulting, Pty. Ltd. All rights reserved.
Simian is not free unless used solely for non-commercial or evaluation purposes.
{ignoreCurlyBraces=true, ignoreModifiers=true, ignoreStringCase=true, threshold=9}
Loading (recursively) *.java from /var/tmp/jdksrc
Found 9 duplicate lines in the following files:
Between lines 65 and 76 in /var/tmp/jdksrc/javax/swing/plaf/basic/BasicSliderUI.java
Between lines 71 and 82 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/gtk/SynthSliderUI.java
Found 9 duplicate lines in the following files:
Between lines 37 and 49 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/motif/MotifCheckBoxMenuItemUI.java
Between lines 43 and 55 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/motif/MotifRadioButtonMenuItemUI.java
Between lines 36 and 48 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/motif/MotifMenuItemUI.java
Found 9 duplicate lines in the following files:
Between lines 391 and 435 in
/var/tmp/jdksrc/org/apache/xml/dtm/ref/DTMDocumentImpl.java
Between lines 1533 and 1577 in
/var/tmp/jdksrc/org/apache/xml/dtm/ref/dom2dtm/DOM2DTM.java
Found 9 duplicate lines in the following files:
Between lines 1744 and 1758 in
/var/tmp/jdksrc/javax/swing/plaf/metal/MetalFileChooserUI.java
Between lines 1995 and 2009 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/windows/WindowsFileChooserUI.java
Between lines 849 and 863 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java
Found 9 duplicate lines in the following files:
Between lines 47 and 59 in /var/tmp/jdksrc/javax/swing/plaf/basic/BasicMenuBarUI.java
Between lines 55 and 67 in
/var/tmp/jdksrc/com/sun/java/swing/plaf/gtk/SynthMenuBarUI.java
Mocking Frameworks
[TestFixture]
[ClearMocks] TypeMock
public class TestClass
{
[Test] Rhino Mocks
[VerifyMocks]
public void TestWithNatural()
{
using (RecordExpectations recorder =
NMock
RecorderManager.StartRecording())
{
ClassToIsolate.StaticMethod();
recorder.Throw(new NullReferenceException());
}
}
[Test]
[VerifyMocks]
public void TestWithReflective()
{
Mock mock = MockManager.Mock<ClassToIsolate>();
mock.ExpectAndThrow("StaticMethod", new
NullReferenceException());
}
}
22
Other Tools
• FxCop
• VS 2005/2008
• Selenium
• WatiN
• Subversion
Contact information
Presentation by: Wayne Allen
[email protected]
blogs.consultantsguild.com
23