SlideShare a Scribd company logo
Analytics in Quality Assurance
Rohit Vyas
Sr. QE
Certification Team, Pune(IN)
About Me
● QA Engineer
● Sr. QA Lead
● Sr. QE
– 366 Days on 25th Jan -2017
Leveraging Analytics in QA
Predictive Analysis
qe_camp_17
Predictive Analysis
Current QA Challenges
● What all testcases need to be executed to minimize
the defect leakage rate < 10% and maximize the
coverage > 90%?
● Identify the tests to be included in test suite which can
be executed with resources <=5 and time_duration
<10 days with severity defects= 0% ? (Min(Tc))
● Number of resources required to execute test suite
with min(Tc) for ModuleX with min(defect leakage
rate) within min(testing time frame)?
Role of Predictive Analytics In QA
● TC Prioritization in RR
● Resource utilization
● Report generation
Why TCP?
TCP ?
● Focus on ranking all existing TC without eliminating.
Detect Fault Soon.
● Executes TC's in given order until the testing budget is
exhausted.
TCP Effect
0 2 4 6 8 10 12 14 16 18
0
10
20
30
40
50
60
Bugs
0 2 4 6 8 10 12 14 16 18
0
10
20
30
40
50
60
70
Bugs
How TCP ?
Techniques for TCP
● Text diversity-based Prioritization
AllDist(Ti,PS,d)= Min{d(Ti,Tj)} | Tj PS
● Topic diversity-based
● History Based clustering
● C 1 = { tc x — tc x 2 FT(n) }
● C 2 = { tc x — tc x 62 C1 AND tc x 2 FT(n-1) }
● C 3 = { tc x — tc x 62 [(C 1 ,C 2 ) AND tc x 2 FT(n-2)}
Inputs For TCP.
● Change information
● Historical Fault detection
● Dynamic and Static Coverage Data
● SRD
● Test Scripts
Data Sources
System Under Test
Type Release Total Test New Test %New Test Median Old
Test
TR 3.0 580 398 68% 1
RR 5.5 1055 39 4% 4
Type Release Release
Date
No. Of test No. of Faults Failure Rate
RR 3.0 1/12/2016 580 127 21.90%
RR 4.0 25/12/2016 1055 6 0.57%
K Mean Clustering
● Assume Euclidean space/distance
● Start picking k , the number of clusters
● Initialize clusters by picking one point per clusters and
find the minimum distance
● Repeat for all the clusters
Resource Allocation
● Right Tester/QA ?
● QA score
● How well QA handles Deadline Meets
● Resource allocation predictions based on the Analysis
● Predict the success rate of project with n number of
resources having 5+ years of domain expertise QA
within min(time_frame)
Resource Allocation Problems
Understand your Resource
● Identifying the Performance [Demographic, Gender
Biased, Skills]
● Resource Allocation in RR & TR
● Resources Churn Detection
Data Sets
Proje
ct
ID Age Gend
er
Marital
Status
Issues
Reporte
d
Priori
ty of
Bug
Relea
se
Time
Locat
ion
Project
Complexit
y
aaa a123 23 M S 12 xx xx xx xx
Project Complexity Age Gender Domain Expertise Interest Level
xx xx xx xx xx xx xx
Data Source
Reports
Metrics That Matters
● Analytical Reports
– Add values to current test tools generated reports
on better explaining the data collected and will be
useful for future prediction and forecasting.
Metrics That Matters
● Measuring the Doneness
● Resource Allocation
● Measuring Performance and biases
● Beyond the Check Marks
Tools
● R
● Statpro
● Excel or LibreOffice for Regression
References
● Test case prioritization
http://sealab.cs.umanitoba.ca/wp-content/uploads/2
016/07/Published.pdf
qe_camp_17
qe_camp_17

More Related Content

PPTX
Bug prediction based on your code history
PPTX
Icse 2011 ds_1
PPT
D03 15 Deliverable Roadmap
PPTX
Quality Organization framework
PPTX
Adding Lab to Clinic presentation
PDF
Rohit_vyas_PGDay_Presentation
PPTX
Agile Testing Analytics
PPTX
Kanban India 2023 | Renjith Achuthanunni and Anoop Kadur Vijayakumar | DevOps...
Bug prediction based on your code history
Icse 2011 ds_1
D03 15 Deliverable Roadmap
Quality Organization framework
Adding Lab to Clinic presentation
Rohit_vyas_PGDay_Presentation
Agile Testing Analytics
Kanban India 2023 | Renjith Achuthanunni and Anoop Kadur Vijayakumar | DevOps...

Similar to qe_camp_17 (20)

DOC
Srinivas_Resume
PPTX
iSTQB Chap 5 Managing the Test Activities
PPT
Test Estimation
PDF
Measuring your way_to_successful_automation_webinar
PPT
Six sigma
PDF
An Agile Testing Dashboard: Metrics that Matter
PDF
[Vu Van Nguyen] Test Estimation in Practice
PPTX
Drive Faster Quality Insights through Customized Test Automation - Part 2
PPTX
Overview of test process improvement framework
PPTX
Overview of test process improvement framework
PPTX
Test case prioritization usinf regression testing.pptx
PDF
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
PPTX
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
PPTX
Day 1 1620 - 1705 - maple - pranabendu bhattacharyya
PPT
Acceptance Testing
PDF
2 anton muzhailo - formal test process improvement. how to invest to the te...
PPTX
Testing fundamentals in a changing world
PDF
Estimator Metrics STC 2009
PPTX
Estimates in Software Development and Testing
PPTX
Risk based testing and random testing
Srinivas_Resume
iSTQB Chap 5 Managing the Test Activities
Test Estimation
Measuring your way_to_successful_automation_webinar
Six sigma
An Agile Testing Dashboard: Metrics that Matter
[Vu Van Nguyen] Test Estimation in Practice
Drive Faster Quality Insights through Customized Test Automation - Part 2
Overview of test process improvement framework
Overview of test process improvement framework
Test case prioritization usinf regression testing.pptx
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
Day 1 1620 - 1705 - maple - pranabendu bhattacharyya
Acceptance Testing
2 anton muzhailo - formal test process improvement. how to invest to the te...
Testing fundamentals in a changing world
Estimator Metrics STC 2009
Estimates in Software Development and Testing
Risk based testing and random testing
Ad

qe_camp_17

  • 1. Analytics in Quality Assurance Rohit Vyas Sr. QE Certification Team, Pune(IN)
  • 2. About Me ● QA Engineer ● Sr. QA Lead ● Sr. QE – 366 Days on 25th Jan -2017
  • 7. Current QA Challenges ● What all testcases need to be executed to minimize the defect leakage rate < 10% and maximize the coverage > 90%? ● Identify the tests to be included in test suite which can be executed with resources <=5 and time_duration <10 days with severity defects= 0% ? (Min(Tc)) ● Number of resources required to execute test suite with min(Tc) for ModuleX with min(defect leakage rate) within min(testing time frame)?
  • 8. Role of Predictive Analytics In QA ● TC Prioritization in RR ● Resource utilization ● Report generation
  • 10. TCP ? ● Focus on ranking all existing TC without eliminating. Detect Fault Soon. ● Executes TC's in given order until the testing budget is exhausted.
  • 11. TCP Effect 0 2 4 6 8 10 12 14 16 18 0 10 20 30 40 50 60 Bugs 0 2 4 6 8 10 12 14 16 18 0 10 20 30 40 50 60 70 Bugs
  • 12. How TCP ? Techniques for TCP ● Text diversity-based Prioritization AllDist(Ti,PS,d)= Min{d(Ti,Tj)} | Tj PS ● Topic diversity-based ● History Based clustering ● C 1 = { tc x — tc x 2 FT(n) } ● C 2 = { tc x — tc x 62 C1 AND tc x 2 FT(n-1) } ● C 3 = { tc x — tc x 62 [(C 1 ,C 2 ) AND tc x 2 FT(n-2)}
  • 13. Inputs For TCP. ● Change information ● Historical Fault detection ● Dynamic and Static Coverage Data ● SRD ● Test Scripts
  • 15. System Under Test Type Release Total Test New Test %New Test Median Old Test TR 3.0 580 398 68% 1 RR 5.5 1055 39 4% 4 Type Release Release Date No. Of test No. of Faults Failure Rate RR 3.0 1/12/2016 580 127 21.90% RR 4.0 25/12/2016 1055 6 0.57%
  • 16. K Mean Clustering ● Assume Euclidean space/distance ● Start picking k , the number of clusters ● Initialize clusters by picking one point per clusters and find the minimum distance ● Repeat for all the clusters
  • 17. Resource Allocation ● Right Tester/QA ? ● QA score ● How well QA handles Deadline Meets
  • 18. ● Resource allocation predictions based on the Analysis ● Predict the success rate of project with n number of resources having 5+ years of domain expertise QA within min(time_frame) Resource Allocation Problems
  • 19. Understand your Resource ● Identifying the Performance [Demographic, Gender Biased, Skills] ● Resource Allocation in RR & TR ● Resources Churn Detection
  • 20. Data Sets Proje ct ID Age Gend er Marital Status Issues Reporte d Priori ty of Bug Relea se Time Locat ion Project Complexit y aaa a123 23 M S 12 xx xx xx xx Project Complexity Age Gender Domain Expertise Interest Level xx xx xx xx xx xx xx
  • 22. Reports Metrics That Matters ● Analytical Reports – Add values to current test tools generated reports on better explaining the data collected and will be useful for future prediction and forecasting.
  • 23. Metrics That Matters ● Measuring the Doneness ● Resource Allocation ● Measuring Performance and biases ● Beyond the Check Marks
  • 24. Tools ● R ● Statpro ● Excel or LibreOffice for Regression
  • 25. References ● Test case prioritization http://sealab.cs.umanitoba.ca/wp-content/uploads/2 016/07/Published.pdf