SlideShare a Scribd company logo
1 of 15
SOFTWARE TESTING
METRICS
Quantitative Measurement Of Testing
Agenda
• Considerations
• Importance of Test Metrics
• Test Metrics – Manual Testing
• Test Metrics – Automation Testing
• Test Metrics – Performance Testing
• Common Metrics For All Types Of Testing
Considerations
• For managers, test metrics are key to improvising software projects as well as ensuring that progress remains
on schedule.
• To understand test metrics manager should have extensive experience in managing software testing projects
• Manager should have worked in SDLC, water fall model projects
• Data for metrics should be tracked manually or through test management tools
• From test planning to go-live phase data needs to be captured for metrics
Importance of Test Metrics
A software metric is a standard of measure of a degree to which a software system or process possesses some
property.
Test managers can identify risk areas, improvement opportunities, testing status and testing effectiveness
QA teams are beginning to rely more on historical data and reports to handle various issues as well as to show
which areas of software projects can be improved.
"The final judgment and decision-making should be driven by analysis and not only data. Metric s) assist in
decision-making, but do not substitute it.”
Famous phrase - “You can’t manage what you don’t measure,” By Edward Deming
Test Metrics – Manual Testing
• Test Design Coverage
Formula - (Number of testable requirements covered by test cases created / Number of testable system
requirements planned to be covered)
• Test Execution Coverage
Formula: (Number of testable requirements covered by test cases executed / Number of testable system
requirements planned to be covered)
• Test case density
Formula: Number of test cases per unit size of system tested -
(A test case is defined as a simple test case with upto 10 steps)
• Test design completion
Formula: (Number of test cases created / Number of planned test cases) * 100
Test Metrics – Manual Testing
• Test execution completion
Formula: (Number of test cases executed / Number of test cases planned for execution) * 100
• Productivity - Test Design
Formula: (Number of test cases designed / Test design effort in person days)
• Productivity - Test Execution-
Formula: (Number of test cases executed / Test execution effort in person days)
• Test Effectiveness
Formula: Percentage of defects found in testing done by Team with respect to total number of defects
raised in subsequent test phases and mutually agreed period in production
Test Metrics – Manual Testing
• Invalid defects
Formula: Percentage of defects rejected with respect to total number of defects raised
• Defect Density
Formula: Valid defects per unit size of the software
(Unit size of software could be requirements, use case, screen, line of code)
Test Metrics – Automation Testing
• Return Of Investment (ROI) of Automation
Formula: (Gain + Investment) / Investment
Investment = (a) + (b) + (c) + (d) + (e)
Gain = [(g) * (h) * Period of ROI] / 8
(a) Automated test script development time = (Hourly automation time per test * Number of automated
test cases) / 8
(b) Automated test script execution time = (Automated test execution time per test * Number of automated
test cases * Period of ROI) / 18
(c) Automated test analysis time = (Test Analysis time * Period of ROI) / 8
(d) Automated test maintenance time = (Maintenance time * Period of ROI) / 8
(e) Manual Execution Time = (Manual test execution time * Number of manual test cases * Period of ROI) /
8
(g) Manual test execution time or analysis time
(h) Total number of test cases (automated + manual)
Period of ROI is the number of weeks for which ROI is to be calculated. Divided by 8 is done wherever
manual effort is needed. Divided by 18 is done wherever automation is done.
Test Metrics – Automation Testing
• Percentage of reusable scripts in new enhancements
Formula: (Number of reusable scripts used / Total number of new functionality created)
• Percentage of defects in test scripts per automated test case
Formula: (Number of defects found in automated scripts / Number of automated test cases)*100
• Automatability achieved
Formula: Number of automation test cases run in a delivery cycle / Total test cases selected for a delivery
cycle
• Automation achieved per test case
Formula: Number of test steps automated for a test case / Total number of test steps for test case
Test Metrics – Automation Testing
• Percent of automation achieved in Regression
Formula: Number test cases automated in regression test pack / Total number of regression test cases
available for automation
Test Metrics – Performance Testing
• Performance Execution Data - Client Side
This metric gives the detail information of Client side data for execution.
Following are some of the data points of this metric -
1. Running Users
2. Response Time
3. Hits per Second
4. Throughput
5. Total Transaction per second
6. Time to first byte
7. Error per second
Test Metrics – Performance Testing
• Performance Execution Data - Server Side
This metric gives the detail information of Server side date for execution.
Following are some of the data points of this metric -
1. CPU Utilization
2. Memory Utilization
3. HEAP Memory Utilization
4. Database connections per second
• Product Quality
Formula: (Number of defects in performance test scripts found during expert reviews / Number of
performance test cases created) * 100
• Throughput
Formula: (Number of performance test cases designed / Performance Test design effort in persons days or
hours)
Test Metrics – Performance Testing
• Effectiveness of Verification
Formula: (Number of defects found in performance testing done by Team / Total Number of defects found
in performance testing done by team and subsequent test phases and mutually agreed period in production
or other environment) * 100
• Effort Variance (EV)
Formula: [(Actual effort - Estimated effort) / Estimated efforts ] * 100
• Schedule Variance (SV)
Formula: [(Actual number of days - Estimated number of days) / Estimated number of days] * 100
• Scope Change
Formula: [(Total scope - Previous scope) / Previous scope] * 100
Common Metrics For All Types Of Testing
Thank You!
For any queries connect me at jatinkochhar@hotmail.com

More Related Content

What's hot

Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Damian T. Gordon
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testinggaoliang641
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingReem Alattas
 
Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersTechWell
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQMIBM Rational
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software TestingRajathi-QA
 
Risk based regression testing approach
Risk based regression testing approachRisk based regression testing approach
Risk based regression testing approachAsim Ali
 
Exploratory Testing for Developers
Exploratory Testing for DevelopersExploratory Testing for Developers
Exploratory Testing for DevelopersJohan Hoberg
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validationssusere50573
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de BurgtTEST Huddle
 

What's hot (20)

Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testing
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, Testing
 
Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test Managers
 
Testing
TestingTesting
Testing
 
Testing
TestingTesting
Testing
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Unit v
Unit vUnit v
Unit v
 
[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software Testing
 
Risk based regression testing approach
Risk based regression testing approachRisk based regression testing approach
Risk based regression testing approach
 
unit testing and debugging
unit testing and debuggingunit testing and debugging
unit testing and debugging
 
Testing
TestingTesting
Testing
 
Unit 4 testing
Unit 4 testingUnit 4 testing
Unit 4 testing
 
Exploratory Testing for Developers
Exploratory Testing for DevelopersExploratory Testing for Developers
Exploratory Testing for Developers
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validation
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt
 

Similar to Software Testing Metrics

What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?QA InfoTech
 
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 testsHervKoya
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based ManagementSPIN Chennai
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.pptMadhaviP23
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияAlex
 
Software quality metrics
Software quality metricsSoftware quality metrics
Software quality metricsSandeep Supal
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptxAnithaSadasivuni
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.pptghkadous
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processselvam mc
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...madhurpatidar2
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignGeorgina Tilby
 

Similar to Software Testing Metrics (20)

What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
 
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
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based Management
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
Software quality metrics
Software quality metricsSoftware quality metrics
Software quality metrics
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
rryghg.ppt
rryghg.pptrryghg.ppt
rryghg.ppt
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing process
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
 

More from Jatin Kochhar

GDPR Data Life Cycle
GDPR Data Life CycleGDPR Data Life Cycle
GDPR Data Life CycleJatin Kochhar
 
Why We Require GDPR?
Why We Require GDPR?Why We Require GDPR?
Why We Require GDPR?Jatin Kochhar
 
Intent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerIntent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerJatin Kochhar
 
Mobile Application vs Web Application
Mobile Application vs Web ApplicationMobile Application vs Web Application
Mobile Application vs Web ApplicationJatin Kochhar
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsJatin Kochhar
 
Search Engine Marketing
Search Engine MarketingSearch Engine Marketing
Search Engine MarketingJatin Kochhar
 
Search Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchSearch Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchJatin Kochhar
 
Analytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityAnalytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityJatin Kochhar
 
Landing Page Optimization
Landing Page OptimizationLanding Page Optimization
Landing Page OptimizationJatin Kochhar
 
Accessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterAccessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterJatin Kochhar
 
Accessibility Testing Approach
Accessibility Testing ApproachAccessibility Testing Approach
Accessibility Testing ApproachJatin Kochhar
 
What is Accessibility
What is AccessibilityWhat is Accessibility
What is AccessibilityJatin Kochhar
 
Global Data Privacy Regulation
Global Data Privacy RegulationGlobal Data Privacy Regulation
Global Data Privacy RegulationJatin Kochhar
 
Software Test Estimation
Software Test EstimationSoftware Test Estimation
Software Test EstimationJatin Kochhar
 
Conformance Checklist for Product Owner
Conformance Checklist for Product OwnerConformance Checklist for Product Owner
Conformance Checklist for Product OwnerJatin Kochhar
 

More from Jatin Kochhar (17)

GDPR Data Life Cycle
GDPR Data Life CycleGDPR Data Life Cycle
GDPR Data Life Cycle
 
Why We Require GDPR?
Why We Require GDPR?Why We Require GDPR?
Why We Require GDPR?
 
Intent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerIntent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag Manager
 
Mobile Application vs Web Application
Mobile Application vs Web ApplicationMobile Application vs Web Application
Mobile Application vs Web Application
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google Analytics
 
Search Engine Marketing
Search Engine MarketingSearch Engine Marketing
Search Engine Marketing
 
Search Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchSearch Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic Search
 
Analytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityAnalytic Tool Hotjar - Capability
Analytic Tool Hotjar - Capability
 
Landing Page Optimization
Landing Page OptimizationLanding Page Optimization
Landing Page Optimization
 
Accessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterAccessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and Tester
 
Accessibility Testing Approach
Accessibility Testing ApproachAccessibility Testing Approach
Accessibility Testing Approach
 
What is Accessibility
What is AccessibilityWhat is Accessibility
What is Accessibility
 
GDPR Data Lifecycle
GDPR Data LifecycleGDPR Data Lifecycle
GDPR Data Lifecycle
 
Global Data Privacy Regulation
Global Data Privacy RegulationGlobal Data Privacy Regulation
Global Data Privacy Regulation
 
Basics of python
Basics of pythonBasics of python
Basics of python
 
Software Test Estimation
Software Test EstimationSoftware Test Estimation
Software Test Estimation
 
Conformance Checklist for Product Owner
Conformance Checklist for Product OwnerConformance Checklist for Product Owner
Conformance Checklist for Product Owner
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Software Testing Metrics

  • 2. Agenda • Considerations • Importance of Test Metrics • Test Metrics – Manual Testing • Test Metrics – Automation Testing • Test Metrics – Performance Testing • Common Metrics For All Types Of Testing
  • 3. Considerations • For managers, test metrics are key to improvising software projects as well as ensuring that progress remains on schedule. • To understand test metrics manager should have extensive experience in managing software testing projects • Manager should have worked in SDLC, water fall model projects • Data for metrics should be tracked manually or through test management tools • From test planning to go-live phase data needs to be captured for metrics
  • 4. Importance of Test Metrics A software metric is a standard of measure of a degree to which a software system or process possesses some property. Test managers can identify risk areas, improvement opportunities, testing status and testing effectiveness QA teams are beginning to rely more on historical data and reports to handle various issues as well as to show which areas of software projects can be improved. "The final judgment and decision-making should be driven by analysis and not only data. Metric s) assist in decision-making, but do not substitute it.” Famous phrase - “You can’t manage what you don’t measure,” By Edward Deming
  • 5. Test Metrics – Manual Testing • Test Design Coverage Formula - (Number of testable requirements covered by test cases created / Number of testable system requirements planned to be covered) • Test Execution Coverage Formula: (Number of testable requirements covered by test cases executed / Number of testable system requirements planned to be covered) • Test case density Formula: Number of test cases per unit size of system tested - (A test case is defined as a simple test case with upto 10 steps) • Test design completion Formula: (Number of test cases created / Number of planned test cases) * 100
  • 6. Test Metrics – Manual Testing • Test execution completion Formula: (Number of test cases executed / Number of test cases planned for execution) * 100 • Productivity - Test Design Formula: (Number of test cases designed / Test design effort in person days) • Productivity - Test Execution- Formula: (Number of test cases executed / Test execution effort in person days) • Test Effectiveness Formula: Percentage of defects found in testing done by Team with respect to total number of defects raised in subsequent test phases and mutually agreed period in production
  • 7. Test Metrics – Manual Testing • Invalid defects Formula: Percentage of defects rejected with respect to total number of defects raised • Defect Density Formula: Valid defects per unit size of the software (Unit size of software could be requirements, use case, screen, line of code)
  • 8. Test Metrics – Automation Testing • Return Of Investment (ROI) of Automation Formula: (Gain + Investment) / Investment Investment = (a) + (b) + (c) + (d) + (e) Gain = [(g) * (h) * Period of ROI] / 8 (a) Automated test script development time = (Hourly automation time per test * Number of automated test cases) / 8 (b) Automated test script execution time = (Automated test execution time per test * Number of automated test cases * Period of ROI) / 18 (c) Automated test analysis time = (Test Analysis time * Period of ROI) / 8 (d) Automated test maintenance time = (Maintenance time * Period of ROI) / 8 (e) Manual Execution Time = (Manual test execution time * Number of manual test cases * Period of ROI) / 8 (g) Manual test execution time or analysis time (h) Total number of test cases (automated + manual) Period of ROI is the number of weeks for which ROI is to be calculated. Divided by 8 is done wherever manual effort is needed. Divided by 18 is done wherever automation is done.
  • 9. Test Metrics – Automation Testing • Percentage of reusable scripts in new enhancements Formula: (Number of reusable scripts used / Total number of new functionality created) • Percentage of defects in test scripts per automated test case Formula: (Number of defects found in automated scripts / Number of automated test cases)*100 • Automatability achieved Formula: Number of automation test cases run in a delivery cycle / Total test cases selected for a delivery cycle • Automation achieved per test case Formula: Number of test steps automated for a test case / Total number of test steps for test case
  • 10. Test Metrics – Automation Testing • Percent of automation achieved in Regression Formula: Number test cases automated in regression test pack / Total number of regression test cases available for automation
  • 11. Test Metrics – Performance Testing • Performance Execution Data - Client Side This metric gives the detail information of Client side data for execution. Following are some of the data points of this metric - 1. Running Users 2. Response Time 3. Hits per Second 4. Throughput 5. Total Transaction per second 6. Time to first byte 7. Error per second
  • 12. Test Metrics – Performance Testing • Performance Execution Data - Server Side This metric gives the detail information of Server side date for execution. Following are some of the data points of this metric - 1. CPU Utilization 2. Memory Utilization 3. HEAP Memory Utilization 4. Database connections per second • Product Quality Formula: (Number of defects in performance test scripts found during expert reviews / Number of performance test cases created) * 100 • Throughput Formula: (Number of performance test cases designed / Performance Test design effort in persons days or hours)
  • 13. Test Metrics – Performance Testing • Effectiveness of Verification Formula: (Number of defects found in performance testing done by Team / Total Number of defects found in performance testing done by team and subsequent test phases and mutually agreed period in production or other environment) * 100
  • 14. • Effort Variance (EV) Formula: [(Actual effort - Estimated effort) / Estimated efforts ] * 100 • Schedule Variance (SV) Formula: [(Actual number of days - Estimated number of days) / Estimated number of days] * 100 • Scope Change Formula: [(Total scope - Previous scope) / Previous scope] * 100 Common Metrics For All Types Of Testing
  • 15. Thank You! For any queries connect me at jatinkochhar@hotmail.com