Scrum

32
SCRUM OVERVIEW Nilesh Harde Scrum Master

Transcript of Scrum

SCRUM OVERVIEWNilesh Harde

Scrum Master

4 VALUES OF THE AGILE MANIFESTO

1. Individuals and interactions over processes and tools

2. Working software over comprehensive documentation

3. Customer collaboration over contract negotiation

4. Responding to change over following a plan

12 PRINCIPLES OF THE AGILE MANIFESTO

1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

2. Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.

3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.

4. Business people and developers must work together daily throughout the project.

12 PRINCIPLES OF THE AGILE MANIFESTO

5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

7. Working software is the primary measure of progress.

8. Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

12 PRINCIPLES OF THE AGILE MANIFESTO

9. Continuous attention to technical excellence and good design enhances agility.

10. Simplicity--the art of maximizing the amount of work not done--is essential.

11. The best architectures, requirements, and designs emerge from self-organizing teams.

12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

SCRUM ROLES1. Product Owner2. Scrum Master3. Scrum Development Team

SCRUM ROLES – PRODUCT OWNER1. Responsible for Return on Investment(ROI)2. Responsible for product vision3. Focused more on the what than on the

how4. Final arbiter of requirements questions5. Constantly re-prioritizes the Product

Backlog6. Accepts or rejects each product increment7. Managing the release plan

SCRUM ROLES – SCRUM MASTER1. facilitator, coach, mentor2. Protects the team from external

interference and distractions 3. Removes impediments4. Helps the team become self-organizing5. Enforces Time Boxes6. Promotes Improved engineering practices7. Has no management authority

SCRUM ROLES – SCRUM DEVELOPMENT TEAM

1. Cross-functional group2. Attempts to build a ‘potentially

shippable product increment’ every sprint

3. Collaborates4. Self-organizing5. 7+/- 2 members

SCRUM MEETING1. Backlog Refinement Meeting2. Sprint Planning Meeting3. Daily Scrum Meeting4. Sprint Review Meeting5. Sprint Retrospective Meeting

Backlog Refinement

Meeting

Sprint Planning Meeting

Daily Scrum Meeting

Sprint Review Meeting

Sprint Retrospective

Meeting

BACKLOG REFINEMENT MEETING• Participants : Product Owner, Team, Scrum

Master• Duration: < 10% of Capacity of Team;

2 Weeks Sprint – 1 day• Decomposition of large Product Backlog

Items(PBIs) into smaller ones (e.g. epics to user stories)

• Clarification of requirement• Estimation of effort

SPRINT PLANNING MEETING• Participants : Product Owner, Team, Scrum

Master• Duration: < 10% of Capacity of Team;

2 Weeks Sprint – 4 hoursWhen : At the beginning of each Sprint

• Agree to Sprint goals and negotiate which items from Product Backlog will be committed to the Sprint Backlog

• Team will come up with an initial list of tasks necessary to complete the committed PBIs

SPRINT PLANNING MEETING• 2 Part Meeting• Sprint Planning Part 1 (”what”)– for

committing to Product Backlog items (PBIs)

• Sprint Planning Part 2 (“how”)– for coming up with tasks.

• DONE Tested Refactored Potentially shippable

SprintBacklog

DAILY SCRUM MEETING• Participants : Development Team, Scrum

Master, Product Owner (optional)• Duration: 15 minutes each day• Daily Scrum 3 Questions

1. What did I do yesterday?2. What will I do today?3. What impediments I faces?

DAILY SCRUM MEETINGTracking Progress during the Sprint Every day, the Team members update their estimate of the effort

remaining to complete their current work in the Sprint Backlog.

TrackingProgress

Initial Estimate of Effort

0 1 2 3 4 5 6modify datababase Nilesh 5 4 3 0 0 0create webpage (UI) Uday 3 3 3 2 0 0create webpage (javascript logic) Uday & Radhika 2 2 2 2 1 0write automated acceptance tests Reshma 5 5 5 5 5 0update buyer help webpage Nilesh & Reshma 3 3 3 3 3 0merge DCP code and complete layer-level tests 5 5 5 5 5 5complete machine order for pRank 3 3 3 3 5 5change DCP and reader to use pRank http API 5 5 5 5 5 5

Improve trasaction processing

performance

Daily Updates of Work Remaining on the Sprint Backlog

Product Backlog Item Sprint Task VolunteerNew Estimates of Effort

Remaining at end of Day…

As a buyer, I want to place a book in a

shopping cart

DAILY SCRUM MEETINGSprint Burn down Chart

It is also common for someone to add up the effort remaining for the Team as a whole, and plot it on the Sprint Burn down Chart. Graph shows, each day, a new estimate of how much work remains until the Team is finished.

If the burn down line is not tracking downwards towards completion near the end of the Sprint, then the Team needs to adjust, such as to reduce the scope of the work or to find a way to work more effectively while still maintaining a sustainable pace.

DAILY SCRUM MEETING

50 49 48

44 43

34

0

10

20

30

40

50

60

0 1 2 3 4 5 6 7 8 9 10

New

Esti

mat

e of

Wor

k Re

mai

ning

Day

Sprint Burndown Chart

SPRINT REVIEW MEETING• Participants : Product Owner, Development

Team, Scrum Master, Other Stakeholders• Duration: 2 hours for 2 weeks Sprint• When: At the end of Sprint• Agenda

1. Product Demonstration2. Product Owner declares what’s done3. Measure Velocity ( optional )4. Stakeholder feedback

PRODUCT BACKLOG• Example• As a <student>, I can <see my previous semester

grades online> so that <I don’t have to wait until I get to school to know my previous grades>

• Acceptance Criteria: Columns align neatly on FingerFly 4.1 and JPhone

• EFFORT : SMALL

SCRUM USER STORIES Format

As an [actor], I [want|must] [action] so that [achievement]

Or in a shorter version:

As an [actor], I [want|must] [achievement] Example• As a <customer> I want to <see the catalogue of

saleable items> so that <I can order one of them>• As an <administrator> I want <be able to disable

accounts>

VELOCITYMeasure Velocity• PBIs declared as done are one Medium ( 4 Story

Points), one Small( 2 Story Points ) and one Small( 2 Story Points)

• Using relative sizing numbers, velocity works out to 8 story points the Sprint

• PBIs DONE or Velocity = 4 + 2 + 2 = 8 Story Points

• If velocity stays stable for serval sprints it may eventually help you forecast how far down the Product Backlog you’ll get before the release date.

SPRINT RETROSPECTIVE MEETING• Participants : Development Team, Scrum

Master, Product Owner (Optional)• Duration: 1.5 hours for 2 weeks Sprint• When: At the end of Sprint ( after Sprint

Review)• Sprint Review meeting involves inspect and

adapt regarding the product.• Sprint Retrospective involves inspect and

adapt regarding the process and environment.

SPRINT RETROSPECTIVE MEETINGPurpose Inspect how the last Sprint went with

regards to people, process, and tools.• Identify and order the major items that

went well and potential improvements. • Create a plan for implementing

improvements to the way the Scrum Team does its work.

SPRINT RETROSPECTIVE MEETING• By the end of the Sprint Retrospective, the

Scrum Team should have identified improvements that it will implement in the next Sprint. Implementing these improvements in the next Sprint is the adaptation to the inspection of the Scrum Team itself.

SCRUM ARTIFACTS

1) Product Backlog

2) Sprint Backlog

3) Sprint Burn down Chart

PRODUCT BACKLOG List of desired functionality Visible to all stakeholders Any stakeholder can add items Constantly re-prioritized by Product Owner Items at top are more granular than items

at bottom Maintained during the Backlog Refinement

Meeting

PRODUCT BACKLOG ITEM(PBI) Specifies the what more than the how of a

customer centric feature Often written in User Story form May have item-specific acceptance criteria Effort is estimated by the tem, in relative

units (e.g. story points) Effort is roughly 2-3 people 2-3 days

Account lockout after three attempts

Acceptance Criteria: ....

Small

SPRINT BACKLOG Consists of committed PBIs negotiated between

the team and the product owner during Sprint Planning Meeting

Scope commitment is fixed during Sprint Execution Initial task are identified by the team during Sprint

Planning Meeting Team will discover additional tasks needed to meet

the fixed scope commitment during Sprint execution

Visible to team Referenced during the Daily Scrum Meeting

SPRINT BACKLOG

SPRINT TASK Specifies how to achieve the PBIs what Requires one day or less of work Remaining efforts is re-estimated daily,

typically in hours

determine requirements for password policy

page layout(design)

get latest JBoss running

choose persistence strategy(Hibernate?)

write code(using test driven development)

exploratory testing

SPRINT BURN DOWN CHART Indicates total remaining team task hours

within one Sprint Re-estimated daily