QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality...

39
Software Engineering Competence Center QUALITY AS A BUSINESS RESCUER! Overview on Testing Approaches Yasser Ghanim Quality Expert October 2017 November 6, 2017 © Copyright Software Engineering Competence Center 2017

Transcript of QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality...

Page 1: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

Software Engineering Competence Center

QUALITY AS A BUSINESS RESCUER!Overview on Testing Approaches

Yasser GhanimQuality Expert

October 2017

November 6, 2017© Copyright Software Engineering Competence Center 2017

Page 2: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

Yasser Ghanim

Authorized CMMI Instructor, TOGAF Certified, COBIT,

ISTQB TM, ITIL, Agile

Software Quality Expert, SECC

20+ years of SW/IT experience

Software Developer, System Architect, Business

Analyst, IT Manager, Quality Manager

Worked for a number of giant Gulf enterprises and

managed SW/IT projects in many countries.

Process Architect and PI Consultant and Instructor for

over 10 years

Author of several ISTQB exams for the ESTB.

Page 3: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

USA

Canada

Syria Kuwait,

UAE,

KSA

Egypt

17,500+ Trainees

300+ Process

Improvement Consultations

75 CMMI Appraised

Companies Worldwide

1050+ Served Companies

100+ Knowledge

Assets

20+ Qualified Experts 625+ Assessed Companies

3,400+ Certified since 2011

THE SOFTWARE ENGINEERING COMPETENCE CENTER

China

Page 4: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

TESTING SERVICES

282

472501

2014 2015 2016

Certified Testers Since 2013:50+ Training rounds

700+ Trainees

2500+ Certified Professionals

ISTQB Tracks:FoundationAgile ExtensionTest ManagerTest AnalystSecurity Tester

Page 5: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

SECC Clients – Government Agencies

R&D Department

Page 6: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

.

SECC Clients – Financial Institutes

Page 7: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

SECC Clients – IT Companies

Page 8: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

OUR GOAL

Help companies remain COMPETITVE

Help companies remain COMPETITVE

Grow the INDUSTRYGrow the INDUSTRY

Improve theECONOMY

Improve theECONOMY

Page 9: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

Page 10: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

CEO’S JOB?

The ultimate goal of a CEO is to increase shareholders equity and maintain a sustainable return on the investments.

Means make the business profitable!

Management cares about Profit, Revenue, and Market Share

Page 11: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

BUSINESS PRESSURESSUSTAINING PROFITABILITY!

Money

Time

Price

Profit

Recession

Inflation

Demand

Operational Expenditure

Total Revenue

Net Profit

OPEX CAPEX

TCO

Where does

Quality fit in

this picture?

Page 12: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

QUALITY VS. BUSINESS

Effort (MD)

Cost (USD)

20%

40%

70%

Development First

Release

30%

Go-Live

???

Planned

Delivery

TIME

Rework (50%)

BusinessPressures

Co

mp

etit

ion

Profit Margin!

Risk Margin!

Quality Saving

Budget

COST

Page 13: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

WASTE IN LEAN MANAGEMENT!

Page 14: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

QUALITY AS A BUZZWORD!

What is Quality?

Quality Models?

Quality Approach?

Cost of Poor

Quality?

Page 15: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

WHAT’S QUALITY?

Customer

Developer

Page 16: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

WHAT IS QUALITY?CUSTOMER’S VIEW!

Van

SUV

Sedan

PickupFitness forIntended Use

What is a Quality Car?Who is the customer?

Page 17: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

WHAT IS QUALITY?DEVELOPER’S VIEW!

Body Specs

Chassis Design Engine Design

Meeting Product Specifications/

Standards

Page 18: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

WHAT IS QUALITY?TWO PERSPECTIVES …

Validation Verification

Are we building the RIGHT PRODUCT?

Are we BUILDINGthe product RIGHT?

Development Lifecycle!

Page 19: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

COST OF POOR QUALITY (COPQ)!

COPQ Equation (Direct Costs)

COPQ = External failures + Internal failures + Appraisal + Preventive action

Complaint Handling

Requirement Changes

Design Changes

Bug Fixing

Software Batches

Field Service Labor

Complaint Handling

Requirement Changes

Design Changes

Bug Fixing

Software Batches

Field Service Labor

Vague Requirements

Improper Design

Wrong Implementation

Poor Test Suites

Review defects

Testing defects

UAT defects

Vague Requirements

Improper Design

Wrong Implementation

Poor Test Suites

Review defects

Testing defects

UAT defects

Review Specs and

Designs

Code Inspection

Product Inspection

Quality Records

Audits

Review Specs and

Designs

Code Inspection

Product Inspection

Quality Records

Audits

Req. Elicitation

Techniques

Design Modeling

Code Reuse

Improvement

Programs

Req. Elicitation

Techniques

Design Modeling

Code Reuse

Improvement

Programs

InvestmentSaving

Page 20: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

COST OF POOR QUALITYINTERNAL PERSPECTIVE – COST OF DEFECT

* Source: SQS, 2009, Empirical Data from 5,000 projects,

Page 21: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

ANSWERING THE BIG QUESTION!

What is Quality?

Cost of poor

Quality?

Quality Models?

Quality Approach?

Page 22: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

THE WHOLESTIC APPROACH TO QUALITY

BusinessAnalysis

System Analysis

System Arch. & Design

Unit Design Coding

Dynamic Test Execution

(Test Levels)

Project Management / Test Management

Configuration Management

Process Improvement

RequirementsManagement

Measurement & Analysis

Measurement & Analysis

Process & Product Audits

Test Preparation

Methods and

Techniques

Static Testing(Reviews)

QunatitativeManagement

Little Quality Management

Quality Control

Verification & Validation

Quality Assurance

Quality Management

Page 23: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

COVERING THE FULL SCOPE …

TPIG

SPIG

CMMI

Agile

Six Sigma

Architecture

Reuse

ISTQB CMMI Scrum Six Sigma REUSE TSP/PSP

Page 24: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

THE V-MODELVERIFICATION & VALIDATION

Page 25: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

THE ADAPTED V-MODELTHE TPIG IN SCRUM

Page 26: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

ANSWERING THE BIG QUESTION!

What is Quality?

Cost of poor

Quality?

Quality Models?

Quality Approach?

Page 27: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

QUALITY APPROACHES

Test Automation

Continuous Integration

Risk-Based Testing

TFD/TDD

BBT

Static Analysis

WBT/Code Coverage

Page 28: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

COST OF POOR QUALITYEXTERNAL PERSPECTIVE – BUSINESS IMPACT (EXAMPLE)

Page 29: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

QUALITY VS. BUSINESSEXTERNAL PERSPECTIVE!

` `

Critical Risk

High Risk

Medium Risk

Low Risk

Very Low

Postponed/

Reported

Risk-Based Testing

40%

30%

25% 5%

Page 30: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

Testing in Danish!

We develop a portal for a customer in Denmark.

The portal is multi-lingual (English, Danish, Arabic)

Our test data is in English and Arabic.

DanishEnglish

Indtast studerendesalder

Enter student age

Alder er ovennævntegrænse

Age is above limit

Jeg studerer naturvidenskab og matematik

I study science and math

Testers need new test data

Analyst must analyze the length of the Danish sentences.

Developers need to consider maximum sentence length in database and screen design.

Testers will test in three different languages instead of two.

The team need to consider the additional tasks while estimating and planning their work.

Danish sentences are longer and may

get truncated!

Can anyone around speak Danish?!

Page 31: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

TEST CONDITIONSPAYMENT FORM Do we have any

condition related to currency?

Tester Analyst

Developer

Mill?

Cent?

Page 32: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

TEST AUTOMATIONSELENIUM FIREFOX EXTENSION

32

Page 33: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

STATIC ANALYSIS & CODE COVERAGE TOOLS

33

Analysis Tools: .Net: FxCop Java: JavaNCSS, PMD, CheckStyle C++: SourceMonitor PHP: PHP_Depend, PHP_CodeSniffer,

phpmd, phpcpd Sonar

Coverage Tools: .Net: NCover and Visual Studio 2010 Java: EMMA or Clover

Page 34: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

TEST-DRIVEN DEVELOPMENT

An XP Approach where development is guided by automated unit tests.

Test-First Development is a similar approach based on manual test cases

Page 35: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

DEVOPS & CONTINUOUS INTEGRATION

35

Page 36: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

TESTINGIN AGILE

With collaborative development, verification becomes more inherent in

team activities.

Page 37: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

SETTING THE RIGHT ATTITUDE …EVALUATION AND MEASUREMENT

Page 38: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017

TPIG IMPLEMENTATION RESULTS

Defect Density (DD)

Reduced Cost of Quality (COQ)

Defect Removal Rate (DRR)

Testing Schedule Variance (SV)

Testing Cost Variance (CV)

DDR Improvement: 79% -> 88%

Failure Cost Saving: 7.4%

SV Reduction: 26% -> 12%

CV Reduction: 63% -> 29%Other Benefits:

• Management Benefits

• Analysis Benefits

• Engineering Benefits

Page 39: QUALITY AS A BUSINESS RESCUER! - CMMI | ITIL | Agile · ISTQB TM, ITIL, Agile Software Quality Expert, SECC 20+ years of SW/IT experience Software Developer, System Architect, Business

© Copyright Software Engineering Competence Center 2017