SlideShare a Scribd company logo
SOFTWARE
TESTING METRICS
“A METRIC IS A QUANTITATIVE MEASURE OF THE DEGREE TO WHICH A SYSTEM,
SYSTEM COMPONENT, OR PROCESS POSSESSES A GIVEN ATTRIBUTE”
DAVID TZEMACH
WWW.MACHTESTED.COM
MAY 12 2017
AGENDA
• OVERVIEW
• WHAT WE CAN MEASURE USING METRICS
• COMMON METRICS TO EVALUATE TEST PROCESS
• WHY DO WE NEED TO USE METRICS
• TEST METRICS LIFE CYCLE (TMLC)
• TYPE OF METRICS
• FUNDAMENTAL TESTING METRICS
METRICS AND WHAT IT
ACTUALLY MEANS?
OVERVIEW
ONE OF THE MOST IMPORTANT THINGS IN ANY PROJECT IS TO DETERMINE THE FACTORS OF SUCCESS, THESE FACTORS CAN BE
BASED ON QUALITY, COSTS AND TIME.
IN SOFTWARE TESTING PROJECTS, WE WILL NEED TO MEASURE THE QUALITY THAT CAN BE BASED ON MANY CRITERIA INCLUDING
THE 3 DESCRIBED ABOVE.
EXAMPLES
• SPRINT QUALITY IN AGILE PROJECTS (A VELOCITY IS A BUILT-IN TOOL THAT WE CAN USE TO DETERMINE IT).
• THE PROGRESS OF A PROJECT (% OF THE WORK THAT ALREADY COMPLETED/REMAINED).
• THE QUALITY OF TESTING ARTIFACTS (DEFECTS AND TEST DOCUMENTATION).
• SYNCHRONIZATION AMONG TEST AND DEVELOPMENT TEAMS.
• THE QUALITY OF THE PROCESS USED DURING THE PROJECT
• DEVIATIONS FROM THE ORIGINAL PLAN.
COMMON TEST METRICS
WHAT ARE THE MOST COMMON TEST METRICS
• HOW LONG WOULD IT TAKE TO COMPLETE THE TESTING PROCESS?
• HOW MANY DEFECTS ARE OPENED FOR THE SAME ROOT CAUSE?
• HOW MUCH EFFORT WENT INTO THE TESTING OF THE PRODUCT?
• HOW MANY TEST CASES ARE DESIGNED PER REQUIREMENT?
• HOW MANY TEST CASES ARE DESIGNED PER RISK (RBT)?
• TEST COVERAGE COMPARED TO THE ORIGINAL ESTIMATIONS.
• THE MEMBER OF TEST CASES THAT WERE EXECUTED.
• DEFECTS DIVIDED BY SEVERITY.
• DEFECTS DIVIDED BY PRIORITY.
• ANY TESTING DELAYS.
• TEST PRODUCTIVITY.
WHY DO WE NEED TO USE
METRICS?
SO WHY SHOULD WE THINK ABOUT TEST
METRICS?
TESTING METRICS ARE THE MOST EFFICIENT AND IMPORTANT WAY TO MEASURE THE QUALITY OF A TESTING PROJECT, IN
ADDITION, WE CAN SPECIFY A FEW MORE REASONS SUCH AS:
• WITHOUT USING METRICS, YOU CANNOT MEASURE THE QUALITY OF THE IMPLEMENTED PROCESS.
• USING TEST METRICS, MANAGERS CAN TAKE DECISIONS ON DIFFERENT PHASES OF THE TESTING PROJECTS AND
CONTINUALLY IMPROVE THE PROCESS (NO MATTER WHAT IS THE TESTING METHODOLOGY).
• MANAGERS CAN JUSTIFY HARD DECISIONS THAT THEY NEED TO TAKE DURING THE PROJECT.
• MANAGERS CAN EVALUATE THE RISKS AND DETERMINE FUTURE PLANS TO REMOVE THEM.
• TEST METRICS WILL HELP TO MONITOR THE SUCCESS FACTORS OF THE TESTING PROJECT (I ALREADY REVIEWED SOME
OF THEM IN THE PREVIOUS PARAGRAPH).
TEST METRICS
LIFE CYCLE
PHASES OF TMLC
ID Phase name
1 Analysis The analysis phase is the first phase of the TMLC were we determine the metrics that
will use to measure the project/process/testing success.
2 Communicate The first thing that we will need to perform during this phase, is to explain the
metrics (And which data should be captured to support them) to the resources
in the testing projects (Product managers, team leaders and off course the testing
teams).
3 Evaluation We will analysis the data captured by the test team and once it’s approved we will use
to as an input to the identified metrics.
4 Report During the last phase of the TMLC, we will generate a report that summarizes the
results and conclusions of the test metrics, publish it to all relevant resources and take
feedback that we will use to improve the process.
TYPES OF METRICS
BASE METRICS (DIRECT MEASURE)
BASE METRICS ARE THE METRICS WHICH ARE DETERMINED FROM THE RAW DATA
GENERATED BE THE TESTERS THROUGHOUT THE TEST LIFE CYCLE (TLC), THESE DATA
INCLUDE INFORMATION ABOUT DEFECTS STATUSES, TEST COVERAGE AND MORE.
IN ADDITION, USING THIS RAW DATA WE CAN PROVIDE INPUTS TO THE FORMULAS
USED TO DERIVE CALCULATED METRICS.
CALCULATED METRICS (INDIRECT MEASURE)
CALCULATED METRICS ARE BASED ON THE DATA GENERATED IN BASE METRICS
(CONVERSION OF BASE METRICS DATA INTO MORE USEFUL INFORMATION).
USING THIS TYPE OF METRIC, THE TEST LEAD CAN TRACK AND MEASURE THE TESTING
PROGRESS AT DIFFERENT PHASES OF THE TESTING PROCESS.
TYPES OF METRICS
OVERVIEW
LET’S REVIEW SOME OF THE MOST COMMON METRICS THAT WE CAN USE TO DETERMINE
DIFFERENT ASPECTS OF THE TESTING QUALITY, AS YOU WILL SEE, EACH METRIC IS DESCRIBED AS A
SIMPLE MATHEMATICAL FUNCTION.
PRIOR TO USING THIS MATHEMATICAL FUNCTIONS, WE NEED TO UNDERSTAND THE IMPORTANCE OF
THE ABSOLUT NUMBERS DERIVED FROM THE ACTUAL TESTING PROCESS, THIS NUMBERS ARE BASED
ON A FEW BASIC CRITERIA (TOTAL NUMBER OF TEST, NUMBER OF FAILED/PASSED TESTS ETC.) THAT
WE WILL USE AS THE METRIC INPUT, SO THERE IS A HUGH IMPORTANT TO USE THE REAL NUMBERS.
GROUP A: TEST EXECUTION BASED METRICS
METRIC 1: MEASURING THE % OF PASSED TESTS
(PASSED TESTS) / (TOTAL NUMBER OF TEST EXECUTED) *100 = % OF THE PASSED TEST CASES
METRIC 2: MEASURING THE % OF FAILED TESTS
(FAILED TESTS) / (TOTAL NUMBER OF TEST EXECUTED) *100 = % OF THE FAILED TEST CASES
METRIC 3: MEASURING THE % OF THE REMAINING TESTS
(TESTS THAT ARE NOT EXECUTED) / (TOTAL NUMBER OF TESTS) *100 = % OF THE REMAINING TEST CASES
METRIC 4: MEASURING THE % OF THE EXECUTED TESTS
(TESTS THAT ARE EXECUTED) / (TOTAL NUMBER OF TESTS) *100 = % OF THE EXECUTED TEST CASES
GROUP B: METRICS USED TO MEASURE DEFECTS STATUSES
METRIC 5: MEASURING THE % OF FIXED DEFECTS
(NUMBER OF FIXED DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE FIXED DEFECTS
METRIC 6: MEASURING THE % OF INVALID DEFECTS
(NUMBER OF INVALID DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE INVALID DEFECTS
METRIC 7: MEASURING THE % OF WONTFIX DEFECTS
(NUMBER OF WONTFIX DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE WONTFIX DEFECTS
METRIC 8: MEASURING THE % OF CANNOT REPRODUCE DEFECTS
(NUMBER OF CANNOT REPRODUCE DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE CANNOT
REPRODUCE DEFECTS
METRIC 9: MEASURING THE % OF DEFERRED DEFECTS
(NUMBER OF DEFERRED DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE DEFERRED DEFECTS
GROUP C: METRICS USED TO MEASURE DEFECTS SEVERITY
METRIC 11: MEASURING THE % OF BLOCKER DEFECTS
(BLOCKER DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE BLOCKERDEFECTS
METRIC 12: MEASURING THE % OF CRITICAL DEFECTS
(CRITICAL DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE CRITICALDEFECTS
METRIC 13: MEASURING THE % OF MAJOR DEFECTS
(MAJOR DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE MAJORDEFECTS
GROUP D: METRICS USED FOR TIME MEASUREMENT
METRIC 14: AVERAGE TIME FOR DEVELOPMENT TO FIX DEFECTS
(TOTAL TIME USED FOR BUG FIXES) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE)
METRIC 15: NUMBER OF TEST EXECUTION FOR A SPECIFIC TIME PERIOD
(NUMBER OF TEST RUN) / (TOTAL TIME)
FOR ADDITIONAL KB’S PLEASE
VISIT MY BLOG
WWW.MACHTESTED.COM

More Related Content

What's hot

QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
Alex Galkin
 
Introduktion till Test 1.0 (swe)
Introduktion till Test 1.0 (swe)Introduktion till Test 1.0 (swe)
Introduktion till Test 1.0 (swe)Alex Eriksson
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
Tharinda Liyanage
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
Shuchi Singla AKT,SPC4,PMI-ACP,ITIL(F),CP-AAT
 
Types of testing
Types of testingTypes of testing
Types of testing
Sonam Agarwal
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Nivetha Padmanaban
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case WritingSarah Goldberg
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
Dina Hanbazazah
 
The Test Pyramid
The Test PyramidThe Test Pyramid
The Test Pyramid
Thiago Ghisi
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
Khuong Nguyen
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
Johan Hoberg
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
Srilu Balla
 
Software testing principles
Software testing principlesSoftware testing principles
Software testing principles
Donato Di Pierro
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and Measurements
Davis Thomas
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance Testing
David Tzemach
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
Apica
 
Performance testing
Performance testing Performance testing
Performance testing
BugRaptors
 

What's hot (20)

QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 
Introduktion till Test 1.0 (swe)
Introduktion till Test 1.0 (swe)Introduktion till Test 1.0 (swe)
Introduktion till Test 1.0 (swe)
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
The Test Pyramid
The Test PyramidThe Test Pyramid
The Test Pyramid
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
Software testing principles
Software testing principlesSoftware testing principles
Software testing principles
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and Measurements
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance Testing
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Performance testing
Performance testing Performance testing
Performance testing
 

Similar to Software testing metrics | David Tzemach

Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de tests
HervKoya
 
090528 Miller Process Forensics Talk @ Asq
090528 Miller Process Forensics Talk @ Asq090528 Miller Process Forensics Talk @ Asq
090528 Miller Process Forensics Talk @ Asq
rwmill9716
 
BBA504.pptx
BBA504.pptxBBA504.pptx
BBA504.pptx
princeroy73
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
Jatin Kochhar
 
Planning of experiment in industrial research
Planning of experiment in industrial researchPlanning of experiment in industrial research
Planning of experiment in industrial researchpbbharate
 
Design of Experiments
Design of ExperimentsDesign of Experiments
Design of Experiments
Dr. Keerti Jain
 
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David Tzemach
David Tzemach
 
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
Gabor Szabo, CQE
 
02trainingmaterialformsa (1) 111030062223-phpapp02
02trainingmaterialformsa (1) 111030062223-phpapp0202trainingmaterialformsa (1) 111030062223-phpapp02
02trainingmaterialformsa (1) 111030062223-phpapp02
Junelly Grace Catalan-Tecson
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
maheshwari581940
 
MSA
MSAMSA
App. Of Stat. Tools
App. Of Stat. ToolsApp. Of Stat. Tools
App. Of Stat. ToolsDenny Thayil
 
Effective Test Cases & Introduction to Hexawise
Effective Test Cases & Introduction to HexawiseEffective Test Cases & Introduction to Hexawise
Effective Test Cases & Introduction to Hexawise
Nilenth Selvaraja
 
Metrics for manual testing
Metrics for manual testingMetrics for manual testing
Metrics for manual testingAnup Panigrahi
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
YAObbiIkhsan
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based Management
SPIN Chennai
 
A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessShradha Singh
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
MusaBashir9
 
Comp8 unit10 lecture_slides
Comp8 unit10 lecture_slidesComp8 unit10 lecture_slides
Comp8 unit10 lecture_slides
CMDLMS
 

Similar to Software testing metrics | David Tzemach (20)

Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de tests
 
090528 Miller Process Forensics Talk @ Asq
090528 Miller Process Forensics Talk @ Asq090528 Miller Process Forensics Talk @ Asq
090528 Miller Process Forensics Talk @ Asq
 
BBA504.pptx
BBA504.pptxBBA504.pptx
BBA504.pptx
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
Planning of experiment in industrial research
Planning of experiment in industrial researchPlanning of experiment in industrial research
Planning of experiment in industrial research
 
Design of Experiments
Design of ExperimentsDesign of Experiments
Design of Experiments
 
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David Tzemach
 
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
Measurement Systems Analysis - Variable Gage R&R Study Metrics, Applications ...
 
02trainingmaterialformsa (1) 111030062223-phpapp02
02trainingmaterialformsa (1) 111030062223-phpapp0202trainingmaterialformsa (1) 111030062223-phpapp02
02trainingmaterialformsa (1) 111030062223-phpapp02
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
 
MSA
MSAMSA
MSA
 
Msa 5 day
Msa 5 dayMsa 5 day
Msa 5 day
 
App. Of Stat. Tools
App. Of Stat. ToolsApp. Of Stat. Tools
App. Of Stat. Tools
 
Effective Test Cases & Introduction to Hexawise
Effective Test Cases & Introduction to HexawiseEffective Test Cases & Introduction to Hexawise
Effective Test Cases & Introduction to Hexawise
 
Metrics for manual testing
Metrics for manual testingMetrics for manual testing
Metrics for manual testing
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based Management
 
A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test Effectiveness
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
 
Comp8 unit10 lecture_slides
Comp8 unit10 lecture_slidesComp8 unit10 lecture_slides
Comp8 unit10 lecture_slides
 

More from David Tzemach

Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
David Tzemach
 
The new manager role in scrum teams and beyond | SupremeAgile
The new manager role in scrum teams and beyond | SupremeAgileThe new manager role in scrum teams and beyond | SupremeAgile
The new manager role in scrum teams and beyond | SupremeAgile
David Tzemach
 
Top Agile Myths & Misconceptions
Top Agile Myths & MisconceptionsTop Agile Myths & Misconceptions
Top Agile Myths & Misconceptions
David Tzemach
 
Scrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical ApproachScrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical Approach
David Tzemach
 
Expectations of scrum masters - How to choose a true great scrum master?
Expectations of scrum masters - How to choose a true great scrum master?Expectations of scrum masters - How to choose a true great scrum master?
Expectations of scrum masters - How to choose a true great scrum master?
David Tzemach
 
Top 10 challenges faced by the scrum master
Top 10 challenges faced by the scrum masterTop 10 challenges faced by the scrum master
Top 10 challenges faced by the scrum master
David Tzemach
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
David Tzemach
 
What is component testing | David Tzemach
What is component testing | David TzemachWhat is component testing | David Tzemach
What is component testing | David Tzemach
David Tzemach
 
What is automation testing | David Tzemach
What is automation testing | David TzemachWhat is automation testing | David Tzemach
What is automation testing | David Tzemach
David Tzemach
 
The role of the product owner in scrum team | David Tzemach
The role of the product owner in scrum team | David TzemachThe role of the product owner in scrum team | David Tzemach
The role of the product owner in scrum team | David Tzemach
David Tzemach
 
The complete guide for software integration testing | David Tzemach
The complete guide for software integration testing | David TzemachThe complete guide for software integration testing | David Tzemach
The complete guide for software integration testing | David Tzemach
David Tzemach
 
The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David Tzemach
David Tzemach
 
An introduction to api testing | David Tzemach
An introduction to api testing | David TzemachAn introduction to api testing | David Tzemach
An introduction to api testing | David Tzemach
David Tzemach
 
Agile scrum roles
Agile scrum rolesAgile scrum roles
Agile scrum roles
David Tzemach
 
Agile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differencesAgile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differences
David Tzemach
 
The evolution of agile development process
The evolution of agile development processThe evolution of agile development process
The evolution of agile development process
David Tzemach
 
The basics of UNIT testing
The basics of UNIT testing The basics of UNIT testing
The basics of UNIT testing
David Tzemach
 
Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete Review
David Tzemach
 
User Interface Testing | Best Practices
User Interface Testing | Best Practices User Interface Testing | Best Practices
User Interface Testing | Best Practices
David Tzemach
 
Extreme programming (xp) | David Tzemach
Extreme programming (xp) | David TzemachExtreme programming (xp) | David Tzemach
Extreme programming (xp) | David Tzemach
David Tzemach
 

More from David Tzemach (20)

Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
The new manager role in scrum teams and beyond | SupremeAgile
The new manager role in scrum teams and beyond | SupremeAgileThe new manager role in scrum teams and beyond | SupremeAgile
The new manager role in scrum teams and beyond | SupremeAgile
 
Top Agile Myths & Misconceptions
Top Agile Myths & MisconceptionsTop Agile Myths & Misconceptions
Top Agile Myths & Misconceptions
 
Scrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical ApproachScrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical Approach
 
Expectations of scrum masters - How to choose a true great scrum master?
Expectations of scrum masters - How to choose a true great scrum master?Expectations of scrum masters - How to choose a true great scrum master?
Expectations of scrum masters - How to choose a true great scrum master?
 
Top 10 challenges faced by the scrum master
Top 10 challenges faced by the scrum masterTop 10 challenges faced by the scrum master
Top 10 challenges faced by the scrum master
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
 
What is component testing | David Tzemach
What is component testing | David TzemachWhat is component testing | David Tzemach
What is component testing | David Tzemach
 
What is automation testing | David Tzemach
What is automation testing | David TzemachWhat is automation testing | David Tzemach
What is automation testing | David Tzemach
 
The role of the product owner in scrum team | David Tzemach
The role of the product owner in scrum team | David TzemachThe role of the product owner in scrum team | David Tzemach
The role of the product owner in scrum team | David Tzemach
 
The complete guide for software integration testing | David Tzemach
The complete guide for software integration testing | David TzemachThe complete guide for software integration testing | David Tzemach
The complete guide for software integration testing | David Tzemach
 
The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David Tzemach
 
An introduction to api testing | David Tzemach
An introduction to api testing | David TzemachAn introduction to api testing | David Tzemach
An introduction to api testing | David Tzemach
 
Agile scrum roles
Agile scrum rolesAgile scrum roles
Agile scrum roles
 
Agile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differencesAgile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differences
 
The evolution of agile development process
The evolution of agile development processThe evolution of agile development process
The evolution of agile development process
 
The basics of UNIT testing
The basics of UNIT testing The basics of UNIT testing
The basics of UNIT testing
 
Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete Review
 
User Interface Testing | Best Practices
User Interface Testing | Best Practices User Interface Testing | Best Practices
User Interface Testing | Best Practices
 
Extreme programming (xp) | David Tzemach
Extreme programming (xp) | David TzemachExtreme programming (xp) | David Tzemach
Extreme programming (xp) | David Tzemach
 

Recently uploaded

In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 

Recently uploaded (20)

In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 

Software testing metrics | David Tzemach

  • 1. SOFTWARE TESTING METRICS “A METRIC IS A QUANTITATIVE MEASURE OF THE DEGREE TO WHICH A SYSTEM, SYSTEM COMPONENT, OR PROCESS POSSESSES A GIVEN ATTRIBUTE” DAVID TZEMACH WWW.MACHTESTED.COM MAY 12 2017
  • 2. AGENDA • OVERVIEW • WHAT WE CAN MEASURE USING METRICS • COMMON METRICS TO EVALUATE TEST PROCESS • WHY DO WE NEED TO USE METRICS • TEST METRICS LIFE CYCLE (TMLC) • TYPE OF METRICS • FUNDAMENTAL TESTING METRICS
  • 3. METRICS AND WHAT IT ACTUALLY MEANS?
  • 4. OVERVIEW ONE OF THE MOST IMPORTANT THINGS IN ANY PROJECT IS TO DETERMINE THE FACTORS OF SUCCESS, THESE FACTORS CAN BE BASED ON QUALITY, COSTS AND TIME. IN SOFTWARE TESTING PROJECTS, WE WILL NEED TO MEASURE THE QUALITY THAT CAN BE BASED ON MANY CRITERIA INCLUDING THE 3 DESCRIBED ABOVE. EXAMPLES • SPRINT QUALITY IN AGILE PROJECTS (A VELOCITY IS A BUILT-IN TOOL THAT WE CAN USE TO DETERMINE IT). • THE PROGRESS OF A PROJECT (% OF THE WORK THAT ALREADY COMPLETED/REMAINED). • THE QUALITY OF TESTING ARTIFACTS (DEFECTS AND TEST DOCUMENTATION). • SYNCHRONIZATION AMONG TEST AND DEVELOPMENT TEAMS. • THE QUALITY OF THE PROCESS USED DURING THE PROJECT • DEVIATIONS FROM THE ORIGINAL PLAN.
  • 6. WHAT ARE THE MOST COMMON TEST METRICS • HOW LONG WOULD IT TAKE TO COMPLETE THE TESTING PROCESS? • HOW MANY DEFECTS ARE OPENED FOR THE SAME ROOT CAUSE? • HOW MUCH EFFORT WENT INTO THE TESTING OF THE PRODUCT? • HOW MANY TEST CASES ARE DESIGNED PER REQUIREMENT? • HOW MANY TEST CASES ARE DESIGNED PER RISK (RBT)? • TEST COVERAGE COMPARED TO THE ORIGINAL ESTIMATIONS. • THE MEMBER OF TEST CASES THAT WERE EXECUTED. • DEFECTS DIVIDED BY SEVERITY. • DEFECTS DIVIDED BY PRIORITY. • ANY TESTING DELAYS. • TEST PRODUCTIVITY.
  • 7. WHY DO WE NEED TO USE METRICS?
  • 8. SO WHY SHOULD WE THINK ABOUT TEST METRICS? TESTING METRICS ARE THE MOST EFFICIENT AND IMPORTANT WAY TO MEASURE THE QUALITY OF A TESTING PROJECT, IN ADDITION, WE CAN SPECIFY A FEW MORE REASONS SUCH AS: • WITHOUT USING METRICS, YOU CANNOT MEASURE THE QUALITY OF THE IMPLEMENTED PROCESS. • USING TEST METRICS, MANAGERS CAN TAKE DECISIONS ON DIFFERENT PHASES OF THE TESTING PROJECTS AND CONTINUALLY IMPROVE THE PROCESS (NO MATTER WHAT IS THE TESTING METHODOLOGY). • MANAGERS CAN JUSTIFY HARD DECISIONS THAT THEY NEED TO TAKE DURING THE PROJECT. • MANAGERS CAN EVALUATE THE RISKS AND DETERMINE FUTURE PLANS TO REMOVE THEM. • TEST METRICS WILL HELP TO MONITOR THE SUCCESS FACTORS OF THE TESTING PROJECT (I ALREADY REVIEWED SOME OF THEM IN THE PREVIOUS PARAGRAPH).
  • 10. PHASES OF TMLC ID Phase name 1 Analysis The analysis phase is the first phase of the TMLC were we determine the metrics that will use to measure the project/process/testing success. 2 Communicate The first thing that we will need to perform during this phase, is to explain the metrics (And which data should be captured to support them) to the resources in the testing projects (Product managers, team leaders and off course the testing teams). 3 Evaluation We will analysis the data captured by the test team and once it’s approved we will use to as an input to the identified metrics. 4 Report During the last phase of the TMLC, we will generate a report that summarizes the results and conclusions of the test metrics, publish it to all relevant resources and take feedback that we will use to improve the process.
  • 12. BASE METRICS (DIRECT MEASURE) BASE METRICS ARE THE METRICS WHICH ARE DETERMINED FROM THE RAW DATA GENERATED BE THE TESTERS THROUGHOUT THE TEST LIFE CYCLE (TLC), THESE DATA INCLUDE INFORMATION ABOUT DEFECTS STATUSES, TEST COVERAGE AND MORE. IN ADDITION, USING THIS RAW DATA WE CAN PROVIDE INPUTS TO THE FORMULAS USED TO DERIVE CALCULATED METRICS.
  • 13. CALCULATED METRICS (INDIRECT MEASURE) CALCULATED METRICS ARE BASED ON THE DATA GENERATED IN BASE METRICS (CONVERSION OF BASE METRICS DATA INTO MORE USEFUL INFORMATION). USING THIS TYPE OF METRIC, THE TEST LEAD CAN TRACK AND MEASURE THE TESTING PROGRESS AT DIFFERENT PHASES OF THE TESTING PROCESS.
  • 15. OVERVIEW LET’S REVIEW SOME OF THE MOST COMMON METRICS THAT WE CAN USE TO DETERMINE DIFFERENT ASPECTS OF THE TESTING QUALITY, AS YOU WILL SEE, EACH METRIC IS DESCRIBED AS A SIMPLE MATHEMATICAL FUNCTION. PRIOR TO USING THIS MATHEMATICAL FUNCTIONS, WE NEED TO UNDERSTAND THE IMPORTANCE OF THE ABSOLUT NUMBERS DERIVED FROM THE ACTUAL TESTING PROCESS, THIS NUMBERS ARE BASED ON A FEW BASIC CRITERIA (TOTAL NUMBER OF TEST, NUMBER OF FAILED/PASSED TESTS ETC.) THAT WE WILL USE AS THE METRIC INPUT, SO THERE IS A HUGH IMPORTANT TO USE THE REAL NUMBERS.
  • 16. GROUP A: TEST EXECUTION BASED METRICS METRIC 1: MEASURING THE % OF PASSED TESTS (PASSED TESTS) / (TOTAL NUMBER OF TEST EXECUTED) *100 = % OF THE PASSED TEST CASES METRIC 2: MEASURING THE % OF FAILED TESTS (FAILED TESTS) / (TOTAL NUMBER OF TEST EXECUTED) *100 = % OF THE FAILED TEST CASES METRIC 3: MEASURING THE % OF THE REMAINING TESTS (TESTS THAT ARE NOT EXECUTED) / (TOTAL NUMBER OF TESTS) *100 = % OF THE REMAINING TEST CASES METRIC 4: MEASURING THE % OF THE EXECUTED TESTS (TESTS THAT ARE EXECUTED) / (TOTAL NUMBER OF TESTS) *100 = % OF THE EXECUTED TEST CASES
  • 17. GROUP B: METRICS USED TO MEASURE DEFECTS STATUSES METRIC 5: MEASURING THE % OF FIXED DEFECTS (NUMBER OF FIXED DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE FIXED DEFECTS METRIC 6: MEASURING THE % OF INVALID DEFECTS (NUMBER OF INVALID DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE INVALID DEFECTS METRIC 7: MEASURING THE % OF WONTFIX DEFECTS (NUMBER OF WONTFIX DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE WONTFIX DEFECTS METRIC 8: MEASURING THE % OF CANNOT REPRODUCE DEFECTS (NUMBER OF CANNOT REPRODUCE DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE CANNOT REPRODUCE DEFECTS METRIC 9: MEASURING THE % OF DEFERRED DEFECTS (NUMBER OF DEFERRED DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE DEFERRED DEFECTS
  • 18. GROUP C: METRICS USED TO MEASURE DEFECTS SEVERITY METRIC 11: MEASURING THE % OF BLOCKER DEFECTS (BLOCKER DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE BLOCKERDEFECTS METRIC 12: MEASURING THE % OF CRITICAL DEFECTS (CRITICAL DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE CRITICALDEFECTS METRIC 13: MEASURING THE % OF MAJOR DEFECTS (MAJOR DEFECTS) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) *100 = % OF THE MAJORDEFECTS
  • 19. GROUP D: METRICS USED FOR TIME MEASUREMENT METRIC 14: AVERAGE TIME FOR DEVELOPMENT TO FIX DEFECTS (TOTAL TIME USED FOR BUG FIXES) / (TOTAL NUMBER OF DEFECTS REPORTED PER SPRINT/PHASE) METRIC 15: NUMBER OF TEST EXECUTION FOR A SPECIFIC TIME PERIOD (NUMBER OF TEST RUN) / (TOTAL TIME)
  • 20. FOR ADDITIONAL KB’S PLEASE VISIT MY BLOG WWW.MACHTESTED.COM