metrics for manual testing

Download Metrics for manual testing

Post on 20-Jan-2015

3.293 views

Category:

Documents

1 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • 1. Metrics Manual Testing Anup Panigrahi1

2. IntroductionMetrics collected during various phases of testing has been describedfor the different phases in the following slides.1) Requirement Phase2) Test Design Phase3) Test Execution Phase2 3. Requirement Phase3 4. Requirement PhaseFormula:(Total number of Original Requirements + Cumulative number of requirements changed (till date) + Cumulative number of requirements added (till date) + Cumulative number of requirements deleted (till date)) / (Total number of Original Requirements)Description:This metric is calculated taking added, deleted, changed requirements into consideration.This helps to identify the exact requirements that are required for furtherdesign activities.4 5. Requirement Stability IndexFormula: (based on Effort)((Estimated Effort for the completed/ongoing stages) / (Estimated Effort for the completed/ongoing stages - Effort Estimated for Changes till that stage)))Description:This metric is used to calculate the Requirement stability index based on the effort spent on the requirement analysis5 6. Requirements Leakage IndexFormula:(No. of missed Requirements / No. of Initial Requirements)Description:This metric helps to identify the requirements that have possibly been missed out during the requirement analysis phase.6 7. Test Design Phase7 8. Test Case Preparation ProductivityFormula:(No of Test Cases /scripts) / (Effort spent for Test Case/Script Preparation)Description:Test case preparation productivity is used to calculate the number of test cases prepared and the effort spent for the same. 8 9. Test Execution Phase 9 10. Test Case Pass PercentageFormula: (Total Number of test cases or scripts executed and passed / Total Number of test cases or scripts prepared)*100Description: The metric calculates the test case pass percentage which helps to determine the functional coverage of the business components10 11. Test Case Execution PercentageFormula: (Total number of test cases or scripts executed/Total number of test cases or scripts prepared)*100Description: The metric calculates the test case execution percentage, from which the execution efficiency can be measured11 12. Defect Summary Description:Defect summary gives the status of the defects, whether it falls in thefollowing categories: Submitted (New/Open), Re/Assigned, Fixed,Verified, Closed, Rejected, Duplicate, Deferred.12 13. Defect Discovery RateFormula: Total number of defects found in application /Number of test cases or scripts executed.Description: This metric is useful to calculate the rate of identifying defects based on the test cases executed. This metric helps to evaluate the efficiency of the team in identifying the defects.13 14. Defect SeverityDescription:Defect Severity helps to classify the defects based on the followingcategories:Critical, Serious, Important, Non Critical, Out Of Scope.Defects are given importance based on the severity. For example,Critical and Serious defects has to be given immediate attention , sothat these defects does not affect the business functionalities.Module wise severity is also calculated which gives the defect severityfor each module. i.e., System Crash is a Critical Defect (Severity 1)14 15. Defect DensityDescription:This metric shows the defect population in each module. Based on thismetric, attention is paid to the module which has more defects as wellas high defect density percentage.This metric also helps to compare the defects spread across all modules and take necessary action accordingly. 15 16. Defect Rejection RatioFormula: (Defects Rejected/Defects Raised)*100Description: This metric is used to calculate the percentage of defects that has been rejected among the overall defects raised. Defects have to be verified and analyzed before logging to avoid high rejection ratio.Notes:We should not consider the defects those are rejected due to Business reasons, or sometime rejection happens as the Business seeing no scope to fix it, or Browser Issue, Cancelled, Out of Scope, Region Issue, etc.16 17. Thank You! 17