thailand spin: qa excellence workshop 2014

49
QUALITY ASSURANCE EXCELLENCE Software Process Improvement Nopparat Slisatkorn Technical Specialist Thomson Reuters 10 Jun 2014

Upload: nopparat-slisatkorn

Post on 11-Feb-2017

33 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Thailand SPIN: QA Excellence workshop 2014

QUALITY ASSURANCE EXCELLENCE Software Process Improvement

Nopparat Slisatkorn Technical Specialist Thomson Reuters 10 Jun 2014

Page 2: Thailand SPIN: QA Excellence workshop 2014

Outline

Quality

CMMI overview

Examples of Process Areas

5 Whys and Fishbone

Lean concept & Waste in Software Development

Value Stream Mapping

Summary

Q&A

2

Page 3: Thailand SPIN: QA Excellence workshop 2014

3

Page 4: Thailand SPIN: QA Excellence workshop 2014

Quality Definition

• Error-free

• Meet requirement

• Nothing more or less than the perception the customer has of you, your products, and your

services

• Value products and/or services delivered

• At the right time

Source: http://www.qualitydigest.com/html/qualitydef.html

Quality is a journey, not a destination.

4

Page 5: Thailand SPIN: QA Excellence workshop 2014

Introduction to CMMI

CMMI:

Capability Maturity Model Integration by SEI (Software Engineering Institute)

Capability

the ability to do something

Maturity

the condition of growing

Model

framework or direction to do something repeatedly

Integration

combining things together

“A framework that aid an

organization in improving processes

and its abilities to develop, acquire,

and maintain its products and

services”

5

Page 6: Thailand SPIN: QA Excellence workshop 2014

CMMI Representatives

Stage representation

(Maturity Levels)

0

1

2

3

PA 1 PA 2 PA 3

Continuous (Target Profile)

Continuous representation

(Capability Levels)

6

Page 7: Thailand SPIN: QA Excellence workshop 2014

Workshop to understand CMMI Process areas

Village Construction

Page 8: Thailand SPIN: QA Excellence workshop 2014

Instruction

• Village – Theme colorful

• At least 3 houses completed in phase

• Customer will inform more requirements

• Sales price per quality house: $100

• Late deliver charge per house $30

• Incomplete village cannot be sold.

• Materials that you can buy

– Magazine paper

– A4 paper

– Scissor

– Cutter

– Pen color

– Ruler

– Post its

– Pencil

8

Page 9: Thailand SPIN: QA Excellence workshop 2014

Timeframe

• Discuss on MOW, Goal and Buy materials – 5 minutes

• Develop and Deliver – 10 minutes

• Discuss Problem & How to improve – 5 minutes

9

Page 10: Thailand SPIN: QA Excellence workshop 2014

Goals

http://www.mymagneticblog.com/

10

Page 11: Thailand SPIN: QA Excellence workshop 2014

CMMI DEV - Process Group

Process Group Process Area CMMI DEV Maturity Level

Engineering Product Integration (PI) 3

Engineering Requirements Development (RD) 3

Engineering Technical Solution (TS) 3

Engineering Validation (VAL) 3

Engineering Verification (VER) 3

Process Management Organizational Process Definition (OPD) 3

Process Management Organizational Process Focus (OPF) 3

Process Management Organizational Training (OT) 3

Process Management Organizational Process Performance (OPP) 4

Process Management Organizational Performance Management (OPM) 5

Project Management Requirements Management (REQM) 2

Project Management Project Monitoring and Control (PMC) 2

Project Management Project Planning (PP) 2

Project Management Supplier Agreement Management (SAM) 2

Project Management Integrated Project Management (IPM) 3

Project Management Risk Management (RSKM) 3

Project Management Quantitative Project Management (QPM) 4

Support Configuration Management (CM) 2

Support Measurement and Analysis (MA) 2

Support Process and Product Quality Assurance (PPQA) 2

Support Decision Analysis and Resolution (DAR) 3

Support Causal Analysis and Resolution (CAR) 5

11

Page 12: Thailand SPIN: QA Excellence workshop 2014

CMMI DEV – Maturity Levels

Maturity Level Process Area CMMI DEV Process Areas

2 Requirements Management (REQM) Project Management

2 Project Monitoring and Control (PMC) Project Management

2 Project Planning (PP) Project Management

2 Configuration Management (CM) Support

2 Measurement and Analysis (MA) Support

2 Process and Product Quality Assurance (PPQA) Support

2 Supplier Agreement Management (SAM) Project Management

3 Organizational Process Definition (OPD) Process Management

3 Organizational Process Focus (OPF) Process Management

3 Organizational Training (OT) Process Management

3 Integrated Project Management (IPM) Project Management

3 Risk Management (RSKM) Project Management

3 Decision Analysis and Resolution (DAR) Support

3 Product Integration (PI) Engineering

3 Requirements Development (RD) Engineering

3 Technical Solution (TS) Engineering

3 Validation (VAL) Engineering

3 Verification (VER) Engineering

4 Organizational Process Performance (OPP) Process Management

4 Quantitative Project Management (QPM) Project Management

5 Organizational Performance Management (OPM) Process Management

5 Causal Analysis and Resolution (CAR) Support

12

Page 14: Thailand SPIN: QA Excellence workshop 2014

http://www.lambertconsultinggroup.com/PDUEvent.aspx?e=175

14

Page 15: Thailand SPIN: QA Excellence workshop 2014

Requirement Development Process

Collected

Requirement

Elicit stakeholder

needs, constraints

and interfaces

Prioritize

requirements

Peer review

requirements

Develop Product

requirements (component/functional/

non-functional)

Agreed

Requirement

15

Page 16: Thailand SPIN: QA Excellence workshop 2014

User Story

As a Line user,

I want to create group chat

so that I can chat with many friends at the

same time.

Independent Negotiable Valuable Estimatable Small Testable

16

Page 17: Thailand SPIN: QA Excellence workshop 2014

Acceptance Criteria

• After click creating group, the group name will be active within 1

seconds.

• The created group chat will be shown on Friends page under group

category.

• The number of participants in group will be shown behind the group

name.

• The maximum number of participants in each group is 50 persons.

• If the name of group hasn’t defined, the group name will be shown

as “no name”.

Specific Measurable Achievable Relevant Time-bound

17

Page 18: Thailand SPIN: QA Excellence workshop 2014

Book Ordering Online Workshop Create User Story and Acceptance Criteria

Page 19: Thailand SPIN: QA Excellence workshop 2014

Are you…?

19

Page 20: Thailand SPIN: QA Excellence workshop 2014

Peer Review Process(Verification)

Work product

Plan/Prepare for

Peer Review

Conduct

Peer review

Evaluate

Peer Review

Analyse and

correct defect

Example:

When, Who, Which, How

Meeting invitation

Work product readiness Revised work

product

Evaluate result

Inspection

Team review

Walkthrough

Pair programming

Pair testing

Email

Peer Review Types

Formal

Informal

20

Page 21: Thailand SPIN: QA Excellence workshop 2014

21

http://www.isixsigma.com/industries/software-it/defect-prevention-reducing-costs-and-enhancing-quality/

Page 22: Thailand SPIN: QA Excellence workshop 2014

Book Ordering Online Peer Review Workshop Peer Review User Story and Acceptance Criteria

Page 23: Thailand SPIN: QA Excellence workshop 2014

Cost of Quality

http://www.precisetestingsolution.com/betatesting.php

23

Page 24: Thailand SPIN: QA Excellence workshop 2014

Cost & Feedback

24 http://www.agilemodeling.com/essays/modelReviews.htm#

Page 25: Thailand SPIN: QA Excellence workshop 2014

Cost of Defect

http://support.smartbear.com/articles/codecollaborator/roi-calculator/

3

10 10

0

2

4

6

8

10

12

Peer review QA Customer

Cost to fix/Defect

25

Page 27: Thailand SPIN: QA Excellence workshop 2014

Real Case Cost of Defect -2

(Source: IBM Systems Sciences Institute)

27

Page 28: Thailand SPIN: QA Excellence workshop 2014

28

Page 29: Thailand SPIN: QA Excellence workshop 2014

Causal Analysis and Resolution

Opportunity

Outcome

Identify

opportunity

Analyse

opportunity

Implement and

control solution

Define and select

solution

Improvement action

and evaluation result

29

Page 31: Thailand SPIN: QA Excellence workshop 2014

Fishbone diagram

• "Cause-and-Effect Diagram" or "Ishikawa Diagram"

• Kaoru Ishikawa – 1960s

• A graphical method

• Finding the root causes of an effect (-/+).

31

http://en.wikipedia.org/wiki/Ishikawa_diagram

Page 32: Thailand SPIN: QA Excellence workshop 2014

Example

32

Page 33: Thailand SPIN: QA Excellence workshop 2014

5 Whys / Fishbone Workshop • Project delay • Deliver project on time but have many post release defects reported. • Deliver project on time, test 100% coverage but customers do not want

the product.

Steps: 1. Define the Effect 2. Choose Categories 3. Brainstorm Possible Causes 4. Ask Why? to find the root causes 5. Investigate

Page 34: Thailand SPIN: QA Excellence workshop 2014

Validation Process (VAL)

Requirement

Select product to

be validated

Prepare for

validation e.g. environment,

invitation, etc

Analyze validation

result Validate

Validation reports

Validation issues

Enchantment request

34

There are many validation methods.

Examples:

• Sprint Review

• Demo

• Pilot

• Test (e.g. EAP, Alpha)

• Simulation

Page 35: Thailand SPIN: QA Excellence workshop 2014

35

Page 36: Thailand SPIN: QA Excellence workshop 2014

Anything that use time, effort, space, or

money without adding customer value.

36

Page 37: Thailand SPIN: QA Excellence workshop 2014

Software Development Waste • Partially done work

• Extra features

• Re-learning

• Hand-offs

• Delays

• Task Switching

• Defects

Note: there are some necessary waste e.g. process, learning

7 waste

37

Page 38: Thailand SPIN: QA Excellence workshop 2014

Wastes are related

@ Mark Robinson

38

Page 39: Thailand SPIN: QA Excellence workshop 2014

Lean Key concepts in Lean

39

Page 40: Thailand SPIN: QA Excellence workshop 2014

Value Stream Mapping (VSM)

• Used to analyze and design the flow

• Used in Lean environments

• Toyota

The six steps are:

• Identify the actions taken

• Specify the calendar time over the actions

• Specify actual work was taking place and waiting time

• Specify repeat work and time

• Total up the average time working

40

Page 41: Thailand SPIN: QA Excellence workshop 2014

VSM Example

Register

2

10

Measure

5

20

Department Adm.

1

30

Meet Doctor

5

120

Payment

2

30

Get Medicine

5

90 Duration

(min)

Actual time

(min)

• Actual time = 2+5+1+5+2+5 = 20 minutes

• Total time = 10+20+30+120+30+90 = 300 minutes

• Process efficiency = 20/300 = 6.67%

• Then you can investigate which one is waste that you can eliminate.

41

Page 42: Thailand SPIN: QA Excellence workshop 2014

ศรราชกาวไกล สงยาทวไทยทางไปรษณย

42

http://www.thairath.co.th/content/424212

http://www.si.mahidol.ac.th/th/hotnews_detail.asp?hn_id=1562

ผศ.นพ.วศษฎ วามวาณชย ผอ ำนวยกำร รพ.ศรรำช เปดเผยวำ จำกจ ำนวนผปวยทรบกำรรกษำใน โรงพยำบำลศรรำชมจ ำนวนเพมขนอยำงตอเนองในแตละวน สงผลถงควำมแออด จนท ำใหเกดกำรรอคอยในกำรรบยำ ช ำระคำบรกำร กวำจะไดกลบบำนกหมดเวลำไปเกอบครงวน ตนจงมอบนโยบำยให รศ.นพ.เชดชย นพมณจ ำรสเลศ รองผอ ำนวยกำรรพ.ศรรำช ดำนบรกำรผปวยนอกและพฒนำคณภำพ คดหาวธท จะชวยใหผปวยกลบบานไวขน จากผลการวเคราะหระบบงานเพอลดความสญเปลาตามแนวคด Lean จงเกดโครงการ “ศรราชกาวไกล สงยาท วไทย ทางไปรษณย” ซงเรำมองวำ“ไปรษณยไทย” เปนหนวยงำนทมศกยภำพ ทจะชวยใหยำของเรำไปถงมอผปวยโดยเรว มคณภำพ และประสทธภำพ ดวยไปรษณยดวนพเศษในประเทศ หรอ EMS สงดวนทวไทย นบเปนทำงเลอกใหมทฝำยเภสชกรรม รพ.ศรรำช ไดรวมกบ บรษท ไปรษณยไทย จ ำกด อ ำนวยควำมสะดวกใหผปวย โดยท ภก.วชต ต งจตตพร หวหนำฝำยเภสชกรรม รพ.ศรรำช ประธำนคณะท ำงำนกำรจดสงยำทำงไปรษณย พรอมทมงำนเปนก ำลงส ำคญในกำรท ำงำน ดวยขนตอนกำรใหบรกำรแบบครบวงจร “หลงเขารบการตรวจรกษาและไดรบใบส งยาจากแพทยแลว ผปวยสามารถขอเขารวมรบยาทางไปรษณยตำมขนตอนดงน 1. ตดตอทเคำนเตอรใหบรกำรสงยำทำงไปรษณย (ตรงขำมเคำนเตอรออกใบนดผปวย) หนวยตรวจอำยรศำสตรชน 2 หอง 210 ตกผปวยนอก 2. ผปวยกรอกใบแจงควำมจ ำนงเขำรวมกำรจดสงยำทำงไปรษณยพรอมเขยนชอ ทอยทตองกำรใหจดสง 3. เภสชกรประเมนกำรใชยำของผปวย อธบำยยำทผปวยไดรบ และใหตำรำงกำรรบประทำนยำแกผปวย พรอมใหเอกสำรใบยนยนกำรรบยำทำงไปรษณยทมหมำยเลขพสด 13 หลก 4. ผปวยช ำระเงนคำยำ และคำจดสงทำงไปรษณย รำคำ 150 บำท 5. รบยำตำมทอยทระบ โดยจดสงยำทำงดวนพเศษในประเทศ หรอ EMS สงดวนทวไทย ภำยใน 1-3 วน ท ำกำร นบจำกวนทตรวจเสรจ” อยำงไรกตำม ผทจะเขำมำรบบรกำรจดสงยำทำงไปรษณย ตองไดรบกำรประเมนจำกเภสชกรในกำรใชยำวำสำมำรถใชยำไดอยำงถกตองและปลอดภย และเปนผปวยทสำมำรถควบคมอำกำรไดคงทแลว

Page 43: Thailand SPIN: QA Excellence workshop 2014

Tool

People Process Product

/Service

Quality

PDCA

Feedback

Plan Do

Check Act

43

PDCA: Dr. W. Edwards Deming

Page 44: Thailand SPIN: QA Excellence workshop 2014

Goal & Collaboration

44

Page 45: Thailand SPIN: QA Excellence workshop 2014

45

Page 46: Thailand SPIN: QA Excellence workshop 2014

Reference

• CMMI: http://www.sei.cmu.edu/cmmi/

• CMMI & Agile: http://resources.sei.cmu.edu/asset_files/TechnicalNote/2008_004_001_14924.pdf

• Agile: http://agilemanifesto.org/

• Test Maturity Model Integration: http://www.tmmi.org/pdf/TMMi.Framework.pdf

• Test Process: http://www.slideshare.net/tokarthik/Test-Process

• Risk Management: http://www.dummies.com/how-to/content/the-essentials-of-managing-risk-in-

your-project.html

• Project Management: http://www.projectmanagementdocs.com/project-planning-

templates/project-management-plan.html

46

Page 47: Thailand SPIN: QA Excellence workshop 2014

Reference – Cont.

Lean:

• Waste and Trash

– http://www.slideshare.net/at2009qc/waste-and-trashing

• What does lean mean for software Testing?

– http://vimeo.com/30617475

Fishbone: http://www.bulsuk.com/2009/08/using-fishbone-diagram-to-perform-5-why.html

5 whys: http://www.bulsuk.com/2009/03/5-why-finding-root-causes.html

VSM: http://agileconsulting.blogspot.co.uk/2010/03/value-stream-mapping-vsm-is-lean.html

47

Page 49: Thailand SPIN: QA Excellence workshop 2014

Q&A