Close to agile

67
© Copyright 2010 Hewlett-Packard Development Company, L.P. 1 © Copyright 2010 Hewlett-Packard Development Company, L.P. CLOSE TO AGILE -SCRUM INTRODUCTION Wu Gang iSAP, HPIT GADSC

description

a overview scrum introduction

Transcript of Close to agile

Page 1: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 1© Copyright 2010 Hewlett-Packard Development Company, L.P.

CLOSE TO AGILE-SCRUM INTRODUCTION

Wu GangiSAP, HPIT GADSC

Page 2: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 2

BEFORE START

1. Have you touched Agile / Scrum before?

2. What do you want to learn from this session ?

Page 3: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 3

AGENDA

– Why Agile

– What is Agile• Agile Value

• Agile Principle

• Scrum

– How Scrum • Scrum process

Page 4: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 4 © Copyright 2010 Hewlett-Packard Development Company, L.P. 4

AGILE

Page 5: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 5 © Copyright 2010 Hewlett-Packard Development Company, L.P. 5

WHY AGILE

Page 6: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 6

AGILE IS POPULAR

Page 7: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 7

IT REALITIES– IT project delivered late 90% Aberdeen

– IT project delivered over budget 50% Gartner

– IT project that fail to meet objectives 50% Gartner

– IT project cancelled prior to completion 30% Aberdeen

Page 8: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 8

SITUATION FOR TRADITION SOFTWARE DEV– 35% project complete on-time within budget

– 31% project cancelled

– 64% feature rarely never used

Page 9: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 9

COMPLEXITY

Can you understand enough in the beginning?

Page 10: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 10

1 2 3 4 5

6 7 8 9 10

2. Requirement Metioned by Customer

3. Requirement Understanded by Project Manager4. Design given by Designer

5. Coding performed by programer

1. Promise Made by Sales 7. This is Installation Package

8. This is Cost

9. This is Support

10. This is What Really Want by Customer

6. This is document

LOSING INFORMATION

Page 11: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 11

WHAT IS PROJECT SUCCESS

– Cover scope

– On time (before dead line)

– Under budgetScope

TimeCost

Page 12: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 12

DEFINITION OF SUCCESS HAS CHANGED– Functionality

• 83% of respondents believe that meeting actual needs of stakeholders is more important that building the system to specific action

– Quality• 82% believe that delivering high quality is more important that delivering on time and

on budget.

– Money• 70% believe that providing the best ROI is more important that delivering under budget

– Schedule• 58% believe that delivering when the system is ready to be shipped is more important

that delivering on schedule

Source: software development project success survey, Scott Ambler , 2008

Page 13: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 13

AGILE IS MOVING INTO MAINSTREAM

Page 14: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 14

WATERFALL VS. AGILE

Page 15: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 15

WATERFALL VS. AGILE - CONTManage Change

Page 16: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 16

Page 17: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 17

BENEFIT OF USING AGILE– Delivers faster time to market

– Increases productivity

– Reduces cost

– Easily adapts to changing requirements and priorities

– Lowers cost of change

– Provides better visibility into project progress

– Reduces risk

– Maximizes ROI

– Reduces waste

– Encourages higher quality and simpler code

– Delivers business value early and often

– Increases team morale

Page 18: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 18

SURVEY FOR SCRUM PROJECT

– 88% increase productivity

– 93% increase quality

– 83% increase stakeholder satisfaction

– 49% reduce cost

Agile Methodologies: Survey Results, by Shine Technologies, 2003

Page 19: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 19 © Copyright 2010 Hewlett-Packard Development Company, L.P. 19

AGILE

Page 20: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 20

WHAT IS AGILE

– Ag-ile (adj.) Characterized by quickness, lightness and ease of movement; nimble

– Agile is simple (not easy)

– Agile is about doing the important things first and taking small steps

– It’s about people, values, principles, and practices that foster team communication and learning and improving as you go along to regularly deliver customer value through working software

Page 21: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 21

AGILE MANIFESTO

1 2 3 4

Individuals and interactions over processes and tools

Customer collaboration over contract negotiation

Working software over comprehensive documentation

Responding to change over following a plan

Page 22: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 22

AGILE PRINCIPLES1. Satisfy the Customer

2. Welcome Change

3. Deliver Frequently

4. Work as a Team

5. Motivate People

6. Communicate Face-to-Face

7. Measure Working Software

8. Maintain Constant Pace

9. Excel at Quality

10. Keep it Simple

11. Evolve Designs

12. Reflect Regularly

Page 23: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 23

Page 24: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 24 © Copyright 2010 Hewlett-Packard Development Company, L.P. 24

WHAT IS SCRUM

Page 25: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 25

SCRUM

Page 26: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 26

Scrum

Page 27: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 27

SCRUM 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.

Page 28: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 28

WHAT SCRUM LOOK LIKE

Page 29: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 29

SCRUM CHARACTERISTICS

– Self-organizing teams

– Product progresses in a series of time boxed 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.

Page 30: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 30 © Copyright 2010 Hewlett-Packard Development Company, L.P. 30

HOW SCRUM

Page 31: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 31

•Product owner•Scrum Master•Team

Roles

•Sprint•Sprint planning•Sprint review•Sprint retrospective•Daily scrum meeting

Ceremonies

•Product backlog•Sprint backlog•Burndown charts

Artifacts

Page 32: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 32

WHAT SCRUM LOOK LIKE

Product Owner

Team

ScrumMaster

Image available at www.mountaingoatsoftware.com/scrum

Page 33: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 33

•Product owner•Scrum Master•Team

Roles

•Sprint•Sprint planning•Sprint review•Sprint retrospective•Daily scrum meeting

Ceremonies

•Product backlog•Sprint backlog•Burndown charts

Artifacts

Page 34: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 34

PRODUCT OWNER

– What he is• Owner of project vision

• Represents the customer

– What he can do• Define features (according to vision)

• Prioritize features (according to ROI)

• Pick release dates• Give feedback• Manage stakeholders• Accept or reject results

Define Success

Page 35: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 35

TEAM

– What he is• Typically 5-9 people

• Cross functional

• Full Time

• Self-Organized

– What he can do• Define tasks

• Estimate effort

• Develop product

• Ensure quality

• Evolve processes

Deliver Success

Page 36: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 36

SCRUM MASTER

– What he is• Servant leader

• Team protector

• Troubleshooter

• Scrum guide

– What he can do• Remove impediments• Prevent interruptions• Facilitate the team• Support the process• Manage management

Ensure Success

Page 37: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 37

PIGS AND CHICKENS

Product OwnerScrum MasterTeam Members

UsersManagersMarketing

Page 38: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 38

•Product owner•Scrum Master•Team

Roles

•Sprint•Sprint planning•Sprint review•Sprint retrospective•Daily scrum meeting

Ceremonies

•Product backlog•Sprint backlog•Burndown charts

Artifacts

Page 39: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 39

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 each sprint

Product Backlog

OrderedValuedEstimated

Page 40: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 40

PRODUCT BACKLOGBacklog item Estimate

Allow a guest to make a reservation 3

As a guest, I want to cancel a reservation. 5

As a guest, I want to change the dates of a reservation. 3

As a hotel employee, I can run RevPAR reports (revenue-per-available-room)

8

Improve exception handling 8

... 30

... 50

Page 41: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 41

USER STORIES

– As a <user> I want <functionality>( so that <benefit> )

• As a guest, I want to cancel a reservation,

• As a hotel employee, I can run RevPAR reports so that I can help to improve the quality of service

Page 42: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 42

TYPICAL FIELDS

•Auto-incremented number

•Decomposed stories often use point technology

ID

•Short, descriptive name

Name

•Importance to product owner

Importance or priority

•Effort of story points, H/M/L

•Relative and consistent

Estimate

•Condition of satisfaction being placed on the system

•How to demonstrate? Example ?

Acceptance Test

•Anything else of note

•Details discovered through discussion and conversation between the team and product owner

Detail/conversation

Page 43: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 43

PRINCIPLE OF CREATE USER STORY

Independent

Negotiable

Valued

Estimable

Small

Testable

Page 44: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 44

SPRINT BACKLOG– Individuals sign up for work of

their own choosing• Work is never assigned

– Estimated work remaining is updated daily

– Any team member can add, delete or change the sprint backlog

– Work for the sprint emerges

– If work is unclear, define a sprint backlog item with a larger amount of time and break it down later

– Update work remaining as more becomes known

Sprint Backlog

AssignableSmall (1-16hours)Team Estimated

Page 45: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 45

SPRINT BACKLOGTasksTasks

Code the user interface

Code the middle tier

Test the middle tier

Write online help

Write the foo class

MonMon

8

16

8

12

8

TuesTues

4

12

16

8

WedWed ThurThur

4

11

8

4

FriFri

8

8

Add error logging

8

10

16

8

8

Page 46: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 46

TASK BOARD

– Visible

– Editable

– Update Daily

– Own By team

Page 47: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 47

PRODUCT BACKLOG VS SPRINT BACKLOG

Product Backlog Sprint Backlog

Large Small

More Business More Technical

Product Owner Team

User Story Task

Before Sprint planning

During Sprint planning

As a vacation planner, I want to see photos of the hotels.

Code the middle tier (8 hours)Code the user interface (4)Write test fixtures (4)Code the foo class (6)Update performance tests (4)

Page 48: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 48

BURNDOWN CHARTS

Date

Eff

ort

Left

Page 49: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 49

BRUNDOWN CHARTS

– Update daily, usually during the daily stand-up

– Represent the amount of work remaining

– Different approaches to create burndown charts• Estimated remaining time

• Track done

Page 50: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 50

Hou

rs

40

30

20

10

0Mon Tue Wed Thu Fri

TasksTasks

Code the user interfaceCode the middle tier

Test the middle tier

Write online help

MonMon

8

16

8

12

TuesTues WedWed ThurThur FriFri

4

12

16

7

11

8

10

16 850

BURNDOWN CHARTS

Page 51: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 51

BURNDOWN CHARTS

Possible over commitment

Possible Under

commitmentCommitment

achieved. Keep this

velocity for next Sprint

Page 52: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 52

•Product owner•Scrum Master•Team

Roles

•Sprint•Sprint planning•Sprint review•Sprint retrospective•Daily scrum meeting

Ceremonies

•Product backlog•Sprint backlog•Burndown charts

Artifacts

Page 53: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 53

Cancel

Gift wrap

Return

Sprint2-4 weeks

Return

Sprint goal

Sprint backlog Potentially shippableproduct increment

Productbacklog

CouponsGift wrap

Coupons

Cancel

24 hours

Image available at www.mountaingoatsoftware.com/scrum

Page 54: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 54

SPRINT

– Scrum projects make progress in a series of “sprints”

• Analogous to Extreme Programming iterations

– Typical duration is 2–4 weeks or a calendar month at most

– A constant duration leads to a better rhythm

– Product is designed, coded, and tested during the sprint

Sprint2-4 weeks

Page 55: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 55

SPRINT

– Plan sprint durations around how long you can commit to keeping change out of the sprint

Change

Page 56: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 56

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 Scrum Master

– High-level design is considered

Sprint backlog

Page 57: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 57

Sprint planning meeting

Sprint prioritization

• Analyze and evaluate product backlog

• Select sprint goal

Sprint planning

• Decide how to achieve sprint goal (design)

• Create sprint backlog (tasks) from product backlog items (user stories / features)

• Estimate sprint backlog in hours

Sprintbacklog

Business conditions

Team capacity

Product backlog

Techno-logy

Current product

Sprint goal

SPRINT PLANNING

Page 58: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 58

DAILY SCRUM MEETING– 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

Page 59: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 59

DAILY SCRUM MEETING

– Only the team talks

– Not to Scrum Master

– No problem solving

– Max 15 minutes

– Standing up

What have you done yesterday?11

What will be done today?22

Is anything in your way?33

Page 60: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 60

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

Page 61: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 61

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

Page 62: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 62

SPRINT RETROSPECTIVE

What to start doing

What to stop doing

What to continue doing

Page 63: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 63 © Copyright 2010 Hewlett-Packard Development Company, L.P. 63

REVIEW

Page 64: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 64

3 – 3 – 5

•Product owner•Scrum Master•Team

Roles

•Sprint•Sprint planning•Sprint review•Sprint retrospective•Daily scrum meeting

Ceremonies

•Product backlog•Sprint backlog•Burndown charts

Artifacts

Page 65: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 65

SCRUM PROCESS

Product Owner

Team

ScrumMaster

Image available at www.mountaingoatsoftware.com/scrum

Page 66: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 66

THERE’S NO SILVER BULLETS

Page 67: Close to agile

© Copyright 2010 Hewlett-Packard Development Company, L.P. 67© Copyright 2010 Hewlett-Packard Development Company, L.P.

THANK YOU