SlideShare a Scribd company logo
1 of 21
Download to read offline
Test Estimation in Practice
STC JULY 2014
VU NGUYEN
Faculty of Information Technology
University of Science, VNU-HCMC
Agenda
• Background and Motivation
• qEstimation Process
– Test Size Estimation
– Test Effort Estimation
• Conclusion
2
Background
• Software estimation
– process of determining cost, time, staff, and other attributes
of software projects
• Estimation is important for success or failure of
projects
• Methods and Metrics
– Source Lines of Code (SLOC)
– Function Points
– Use Case Points
– Story Points
– COCOMO
– Expert Judgment
3
Motivation
• Testing accounts for up to 50% of project effort
[1]
• Current problems
– estimates done for the whole project rather than
testing specific
– lack of reliable methods designed for estimating
software testing
• Our aim
– Introducing qEstimation for estimating size and
effort of testing projects
4
Agenda
• Background and Motivation
• qEstimation Process
– Test Size Estimation
– Test Effort Estimation
• Conclusion
5
Test Case
qEstimation Process
6
Test Case
Count TCPs
of all Test
Cases
Estimate
Testing
Effort
Parameters
Counted
Size
Estimated
Effort
[Test Cycle i]
Test Cycle Size Actual
Effort
Effort by
Activity
…. …. …. ….
Test cycle i …. …. ….
…. …. …. ….
Historical Data of this Project
Update
Historical
Data
Calibrate
Estimation
Model
Estimate size and effort of different test cycles of a same project:
qEstimation Principles
• Size measures complexity of each test cycle
• Test case’s complexity is based on
– Number of checkpoints
– Complexity of test setup or precondition
– Complexity of test data
• Test Case Point (TCP) is used as size unit
• Model refinement (calibration) is key to
estimating effort
– based on previous cycles of the current project or
similar projects
7
Count Size of Test Cycle
• Size of a test cycle: total TCPs of all test cases to be
executed in that test cycle
• Steps:
8
Test Case
Count
Checkpoints
Determine Set Up
Complexity
Determine Test
Data Complexity
Adjust based on
Test Type
(optional)
Unadjusted
TCPs
TCPs
Count Size of Test Cycle - 2
• Checkpoints
– Checkpoint is the condition in which the tester
verifies whether the result produced by the target
function matches the expected criterion
– One test case consists of one or many checkpoints
9
One checkpoint is counted as one TCP
Count Size of Test Cycle - 3
• Test Setup or Precondition
– Test setup specifies the condition to execute the test case
• Include setup steps to prepare environment for testing
– Four levels of Test Setup complexity
• Each is assigned a number of TCPs
10
Number
of TCP(*)
Complexity
Level
Description
0 None • The set up is not applicable or important to execute the test case
• Or, the set up is just reused from the previous test case to continue the current test case
1 Low • The condition for executing the test case is available with some simple modifications required
• Or, some simple set-up steps are needed
3 Medium • Some explicit preparation is needed to execute the test case
• Or, The condition for executing is available with some additional modifications required
• Or, some additional set-up steps are needed
5 High • Heavy hardware and/or software configurations are needed to execute the test case
Count Size of Test Cycle - 4
• Test Data
– Test Data is used to execute the test case
• It can be generated at the test case execution time, sourced from previous
tests, or generated by test scripts
– Four levels of Test Data complexity
• Each is assigned a number of TCPs
Number of TCP
(*)
Complexity
Level
Description
0 None • No test data preparation is needed
1 Low • Simple test data is needed and can be created during the test case execution time
• Or, the test case uses a slightly modified version of existing test data and requires
little or no effort to modify the test data
3 Medium • Test data is deliberately prepared in advance with extra effort to ensure its
completeness, comprehensiveness, and consistency
6 High • Test data is prepared in advance with considerable effort to ensure its completeness,
comprehensiveness, and consistency
• This could include using support tools to generate data and a database to store and
manage test data
• Scripts may be required to generate test data
Count Size of Test Cycle - 5
• Adjust TCPs based on Type of Test
– This is an OPTIONAL step
– Adjustment is based on types of test cases
• Each type of test case is assigned a weight
• Adjusted TCP of the test case = Counted TCP x Weight(*)
12
Agenda
• Background and Motivation
• qEstimation Process
– Test Size Estimation
– Test Effort Estimation
• Conclusion
13
Estimate Effort of Test Cycle
• Overview
– Two estimation methods
• Based on Test Velocity
• Regression analysis of Size and Effort of completed test
cycles
– Effort distributed by activity
• Test Planning
• Test Analysis and Design
• Test Execution
• Test Tracking and Reporting
14
Each of these activities may
be performed multiple times
Estimate Effort of Test Cycle - 2
• Estimate Effort based on Test Velocity
Effort(person-hour) = Size(TCP) / Test Velocity(TCP per person-hour)
– Test Velocity is measured as TCP/person-hour
• Test Velocity is dependent on project
• It should be calculated based on data from completed test cycles
of the same project.
15
Estimate Effort of Test Cycle - 3
• Estimate effort using Linear Regression
Analysis
– Find out the equation of effort and size using similar
completed test cycles of a project
16
y = 0.0729x + 1.6408
0
10
20
30
40
50
60
70
80
90
100
0 100 200 300 400 500 600 700 800 900 1000
Effort(PM)
Adjusted TCP
Equation of
Size and Effort
The data analysis tool like
Excel can be used to find
out the equation
Calibrate qEstimation
• Calibration: a process adjusting parameters for
a model using historical data or experiences
• With qEstimation, you can calibrate:
(1) TCP assigned to each complexity level of Test Setup
(2) TCP assigned to each complexity level of Test Data
(3) Test Velocity
(4) Effort distribution
(5) Weights of test case types
• Process can be done with the help of tools
17
18
Tool Demo
Conclusion
• qEstimation is an agile approach to estimating
tests
– Estimate Size in TCP by measuring the complexity
of test cases
– Estimate Effort using Test Velocity or Regression
– An Excel toolkit to simplify the approach
• Advantages
– Easy to implement
– Reflecting real complexity of test cases
– Independent with the level of details of test cases
– Useful for estimating testing effort
19
References
• [1] Y. Yang, Q. Li, M. Li, Q. Wang, An empirical analysis on distribution patterns of
software maintenance effort, International Conference on Software Maintenance,
2008, pp. 456-459
• [2] N. Patel, M. Govindrajan, S. Maharana, S. Ramdas, “Test Case Point Analysis”,
Cognizant Technology Solutions, White Paper, 2001
• [3] QASymphony: www.qasymphony.com
• [4] Vu Nguyen, Vu Pham, and Vu Lam. “qEstimation: a process for estimating size
and effort of software testing.” Proceedings of the 2013 International Conference
on Software and System Process. ACM, 2013
© 2014 HCMC Software Testing Club
Thank You

More Related Content

What's hot

Test planning & estimation
Test planning & estimationTest planning & estimation
Test planning & estimationLeslie Smart
 
Test effort estimation a reason behind successful testing
Test effort estimation   a reason behind successful testingTest effort estimation   a reason behind successful testing
Test effort estimation a reason behind successful testingIndium Software
 
Software testing metrics | David Tzemach
Software testing metrics | David Tzemach Software testing metrics | David Tzemach
Software testing metrics | David Tzemach David Tzemach
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)KMS Technology
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisOAK Systems Pvt Ltd
 
Effective Test Estimation
Effective Test EstimationEffective Test Estimation
Effective Test EstimationTechWell
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing MetricsJatin Kochhar
 
Test Estimation Techniques
Test Estimation TechniquesTest Estimation Techniques
Test Estimation TechniquesNishant Worah
 
Test effort estimation
Test effort estimationTest effort estimation
Test effort estimationramesh kumar
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and MeasurementsDavis Thomas
 
T19 performance testing effort - estimation or guesstimation revised
T19   performance testing effort - estimation or guesstimation revisedT19   performance testing effort - estimation or guesstimation revised
T19 performance testing effort - estimation or guesstimation revisedTEST Huddle
 
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
'Houston We Have A Problem' by Rien van Vugt & Maurice SiteurTEST Huddle
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?QA InfoTech
 
'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
 
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCA
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCAQuality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCA
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCAMuhammed Salim Hussain
 
Reliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
Reliable Relevant Metrics to the Right Audience - Manual Testing WhitepaperReliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
Reliable Relevant Metrics to the Right Audience - Manual Testing WhitepaperIndium Software
 

What's hot (20)

Test planning & estimation
Test planning & estimationTest planning & estimation
Test planning & estimation
 
Test effort estimation a reason behind successful testing
Test effort estimation   a reason behind successful testingTest effort estimation   a reason behind successful testing
Test effort estimation a reason behind successful testing
 
Software testing metrics | David Tzemach
Software testing metrics | David Tzemach Software testing metrics | David Tzemach
Software testing metrics | David Tzemach
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Tracking through kanban
Tracking through kanbanTracking through kanban
Tracking through kanban
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Effective Test Estimation
Effective Test EstimationEffective Test Estimation
Effective Test Estimation
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
Test Estimation Techniques
Test Estimation TechniquesTest Estimation Techniques
Test Estimation Techniques
 
Test effort estimation
Test effort estimationTest effort estimation
Test effort estimation
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and Measurements
 
T19 performance testing effort - estimation or guesstimation revised
T19   performance testing effort - estimation or guesstimation revisedT19   performance testing effort - estimation or guesstimation revised
T19 performance testing effort - estimation or guesstimation revised
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
 
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
 
'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
 
Training program BaffleSol academy of learning
Training program BaffleSol academy of learningTraining program BaffleSol academy of learning
Training program BaffleSol academy of learning
 
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCA
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCAQuality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCA
Quality_Assurance_Engineer_8yrs_Exp_ISTQB_Certified_MCA
 
Reliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
Reliable Relevant Metrics to the Right Audience - Manual Testing WhitepaperReliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
Reliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
 

Viewers also liked

Finding stem women
Finding stem womenFinding stem women
Finding stem womenscsneal
 
Muasc lleida & segovia walks' (spain) summary
Muasc lleida & segovia walks' (spain) summaryMuasc lleida & segovia walks' (spain) summary
Muasc lleida & segovia walks' (spain) summaryMUASC
 
5 Ragioni per cui non puoi fare a meno di un CRM
5 Ragioni per cui non puoi fare a meno di un CRM 5 Ragioni per cui non puoi fare a meno di un CRM
5 Ragioni per cui non puoi fare a meno di un CRM Sellf
 
Libertad de prensa
Libertad de prensaLibertad de prensa
Libertad de prensaSergiRami
 
Alteration of Patent Protection Length in the Intellectual Property Provision...
Alteration of Patent Protection Length in the Intellectual Property Provision...Alteration of Patent Protection Length in the Intellectual Property Provision...
Alteration of Patent Protection Length in the Intellectual Property Provision...Karim Khayat
 
“Zap”: A Mobile Application for Quartz Air-Conditioning
“Zap”: A Mobile Application for Quartz Air-Conditioning“Zap”: A Mobile Application for Quartz Air-Conditioning
“Zap”: A Mobile Application for Quartz Air-ConditioningKarim Khayat
 
Training 111024223009-phpapp02
Training 111024223009-phpapp02Training 111024223009-phpapp02
Training 111024223009-phpapp02mehraj shah
 
Dossierde presse - À vos restes !
Dossierde presse - À vos restes !Dossierde presse - À vos restes !
Dossierde presse - À vos restes !OpenOdyssey
 
ITCamp 2015. Apps 2015: a legal odissey
ITCamp 2015. Apps 2015: a legal odisseyITCamp 2015. Apps 2015: a legal odissey
ITCamp 2015. Apps 2015: a legal odisseyclaudiajelea
 
Be an ingredient detective
Be an ingredient detectiveBe an ingredient detective
Be an ingredient detectiveWayne Gerald
 
AGIForesight _2020_MJP Article
AGIForesight _2020_MJP ArticleAGIForesight _2020_MJP Article
AGIForesight _2020_MJP ArticleMartin Penney
 
Dossier de presse - Les rendez-vous de la Transition Environnementale
Dossier de presse - Les rendez-vous de la Transition EnvironnementaleDossier de presse - Les rendez-vous de la Transition Environnementale
Dossier de presse - Les rendez-vous de la Transition EnvironnementaleOpenOdyssey
 
Muasc marches lleida et ségovie (espagne) résumé
Muasc marches lleida et ségovie (espagne) résuméMuasc marches lleida et ségovie (espagne) résumé
Muasc marches lleida et ségovie (espagne) résuméMUASC
 

Viewers also liked (20)

Finding stem women
Finding stem womenFinding stem women
Finding stem women
 
Muasc lleida & segovia walks' (spain) summary
Muasc lleida & segovia walks' (spain) summaryMuasc lleida & segovia walks' (spain) summary
Muasc lleida & segovia walks' (spain) summary
 
5 Ragioni per cui non puoi fare a meno di un CRM
5 Ragioni per cui non puoi fare a meno di un CRM 5 Ragioni per cui non puoi fare a meno di un CRM
5 Ragioni per cui non puoi fare a meno di un CRM
 
Libertad de prensa
Libertad de prensaLibertad de prensa
Libertad de prensa
 
Alteration of Patent Protection Length in the Intellectual Property Provision...
Alteration of Patent Protection Length in the Intellectual Property Provision...Alteration of Patent Protection Length in the Intellectual Property Provision...
Alteration of Patent Protection Length in the Intellectual Property Provision...
 
Mazurek prezentacja
Mazurek prezentacjaMazurek prezentacja
Mazurek prezentacja
 
Farmacy s (drama)
Farmacy s (drama)Farmacy s (drama)
Farmacy s (drama)
 
“Zap”: A Mobile Application for Quartz Air-Conditioning
“Zap”: A Mobile Application for Quartz Air-Conditioning“Zap”: A Mobile Application for Quartz Air-Conditioning
“Zap”: A Mobile Application for Quartz Air-Conditioning
 
[HCMC STC Jan 2015] Creating a Better Testing Future
[HCMC STC Jan 2015] Creating a Better Testing Future[HCMC STC Jan 2015] Creating a Better Testing Future
[HCMC STC Jan 2015] Creating a Better Testing Future
 
Training 111024223009-phpapp02
Training 111024223009-phpapp02Training 111024223009-phpapp02
Training 111024223009-phpapp02
 
Farmacy s (drama)
Farmacy s (drama)Farmacy s (drama)
Farmacy s (drama)
 
Dossierde presse - À vos restes !
Dossierde presse - À vos restes !Dossierde presse - À vos restes !
Dossierde presse - À vos restes !
 
Jobs
JobsJobs
Jobs
 
Blbost
BlbostBlbost
Blbost
 
ITCamp 2015. Apps 2015: a legal odissey
ITCamp 2015. Apps 2015: a legal odisseyITCamp 2015. Apps 2015: a legal odissey
ITCamp 2015. Apps 2015: a legal odissey
 
Be an ingredient detective
Be an ingredient detectiveBe an ingredient detective
Be an ingredient detective
 
AGIForesight _2020_MJP Article
AGIForesight _2020_MJP ArticleAGIForesight _2020_MJP Article
AGIForesight _2020_MJP Article
 
[Thao Vo] Deadly Traps of Automation Testing
[Thao Vo] Deadly Traps of Automation Testing[Thao Vo] Deadly Traps of Automation Testing
[Thao Vo] Deadly Traps of Automation Testing
 
Dossier de presse - Les rendez-vous de la Transition Environnementale
Dossier de presse - Les rendez-vous de la Transition EnvironnementaleDossier de presse - Les rendez-vous de la Transition Environnementale
Dossier de presse - Les rendez-vous de la Transition Environnementale
 
Muasc marches lleida et ségovie (espagne) résumé
Muasc marches lleida et ségovie (espagne) résuméMuasc marches lleida et ségovie (espagne) résumé
Muasc marches lleida et ségovie (espagne) résumé
 

Similar to [Vu Van Nguyen] Test Estimation in Practice

Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...RIA RUI Society
 
Test Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodTest Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodKMS Technology
 
An Approach to estimate Software Testing
An Approach to estimate Software TestingAn Approach to estimate Software Testing
An Approach to estimate Software TestingAgile Vietnam
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testingHimanshu
 
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
 
PAC 2019 virtual Joerek Van Gaalen
PAC 2019 virtual Joerek Van GaalenPAC 2019 virtual Joerek Van Gaalen
PAC 2019 virtual Joerek Van GaalenNeotys
 
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.pptxmaheshwari581940
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented SoftwarePraveen Penumathsa
 
Test Progress Monitoring and Control
Test Progress Monitoring and ControlTest Progress Monitoring and Control
Test Progress Monitoring and ControlNolaCita
 
Software Engineering (Testing Activities, Management, and Automation)
Software Engineering (Testing Activities, Management, and Automation)Software Engineering (Testing Activities, Management, and Automation)
Software Engineering (Testing Activities, Management, and Automation)ShudipPal
 
How Automation is Changing The Testing Scene
How Automation is Changing The Testing SceneHow Automation is Changing The Testing Scene
How Automation is Changing The Testing Scenesuneratechnologies
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...Iosif Itkin
 
Software-Testing-Chapgdgdgsghshshshshshshs
Software-Testing-ChapgdgdgsghshshshshshshsSoftware-Testing-Chapgdgdgsghshshshshshshs
Software-Testing-Chapgdgdgsghshshshshshshsshaikbab
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptxMinh Nguyen
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...Tsuyoshi Yumoto
 
Model Based Test Validation and Oracles for Data Acquisition Systems
Model Based Test Validation and Oracles for Data Acquisition SystemsModel Based Test Validation and Oracles for Data Acquisition Systems
Model Based Test Validation and Oracles for Data Acquisition SystemsLionel Briand
 
Test Management.pptx
Test Management.pptxTest Management.pptx
Test Management.pptxMAshok10
 
Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Praveen Penumathsa
 

Similar to [Vu Van Nguyen] Test Estimation in Practice (20)

Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
 
Test Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodTest Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis method
 
An Approach to estimate Software Testing
An Approach to estimate Software TestingAn Approach to estimate Software Testing
An Approach to estimate Software Testing
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testing
 
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
 
PAC 2019 virtual Joerek Van Gaalen
PAC 2019 virtual Joerek Van GaalenPAC 2019 virtual Joerek Van Gaalen
PAC 2019 virtual Joerek Van Gaalen
 
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
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented Software
 
Test Progress Monitoring and Control
Test Progress Monitoring and ControlTest Progress Monitoring and Control
Test Progress Monitoring and Control
 
Software Engineering (Testing Activities, Management, and Automation)
Software Engineering (Testing Activities, Management, and Automation)Software Engineering (Testing Activities, Management, and Automation)
Software Engineering (Testing Activities, Management, and Automation)
 
How Automation is Changing The Testing Scene
How Automation is Changing The Testing SceneHow Automation is Changing The Testing Scene
How Automation is Changing The Testing Scene
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Software-Testing-Chapgdgdgsghshshshshshshs
Software-Testing-ChapgdgdgsghshshshshshshsSoftware-Testing-Chapgdgdgsghshshshshshshs
Software-Testing-Chapgdgdgsghshshshshshshs
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...
 
Model Based Test Validation and Oracles for Data Acquisition Systems
Model Based Test Validation and Oracles for Data Acquisition SystemsModel Based Test Validation and Oracles for Data Acquisition Systems
Model Based Test Validation and Oracles for Data Acquisition Systems
 
Test Management.pptx
Test Management.pptxTest Management.pptx
Test Management.pptx
 
Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram
 

More from Ho Chi Minh City Software Testing Club

A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...Ho Chi Minh City Software Testing Club
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiHo Chi Minh City Software Testing Club
 
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Ho Chi Minh City Software Testing Club
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...Ho Chi Minh City Software Testing Club
 
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...Ho Chi Minh City Software Testing Club
 
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing TeamHo Chi Minh City Software Testing Club
 
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of Testing
[HCMC STC Jan 2015] Proving Our Worth  Quantifying The Value Of Testing[HCMC STC Jan 2015] Proving Our Worth  Quantifying The Value Of Testing
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of TestingHo Chi Minh City Software Testing Club
 

More from Ho Chi Minh City Software Testing Club (20)

Web API Test Automation Using Frisby & Node.js
Web API Test Automation Using Frisby  & Node.jsWeb API Test Automation Using Frisby  & Node.js
Web API Test Automation Using Frisby & Node.js
 
Building an effective mobile testing strategy
Building an effective mobile testing strategyBuilding an effective mobile testing strategy
Building an effective mobile testing strategy
 
Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation
 
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
 
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
Test Design with Action-based Testing Methodology - Ngo Hoang MinhTest Design with Action-based Testing Methodology - Ngo Hoang Minh
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
 
Security testing-What can we do - Trinh Minh Hien
Security testing-What can we do - Trinh Minh HienSecurity testing-What can we do - Trinh Minh Hien
Security testing-What can we do - Trinh Minh Hien
 
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
 
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy TamAnalytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
 
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
Agile Testing - Not Just Tester’s Story _ Dang Thanh LongAgile Testing - Not Just Tester’s Story _ Dang Thanh Long
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
 
Mobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin PoirrierMobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin Poirrier
 
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
 
Why a Mobile Test Strategy is just Test Strategy
Why a Mobile Test Strategy is just Test StrategyWhy a Mobile Test Strategy is just Test Strategy
Why a Mobile Test Strategy is just Test Strategy
 
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
 
[HCMC STC Jan 2015] Practical Experiences In Test Automation
[HCMC STC Jan 2015] Practical Experiences In Test Automation[HCMC STC Jan 2015] Practical Experiences In Test Automation
[HCMC STC Jan 2015] Practical Experiences In Test Automation
 
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
 
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
 
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
 
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of Testing
[HCMC STC Jan 2015] Proving Our Worth  Quantifying The Value Of Testing[HCMC STC Jan 2015] Proving Our Worth  Quantifying The Value Of Testing
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of Testing
 

Recently uploaded

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 

Recently uploaded (20)

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 

[Vu Van Nguyen] Test Estimation in Practice

  • 1. Test Estimation in Practice STC JULY 2014 VU NGUYEN Faculty of Information Technology University of Science, VNU-HCMC
  • 2. Agenda • Background and Motivation • qEstimation Process – Test Size Estimation – Test Effort Estimation • Conclusion 2
  • 3. Background • Software estimation – process of determining cost, time, staff, and other attributes of software projects • Estimation is important for success or failure of projects • Methods and Metrics – Source Lines of Code (SLOC) – Function Points – Use Case Points – Story Points – COCOMO – Expert Judgment 3
  • 4. Motivation • Testing accounts for up to 50% of project effort [1] • Current problems – estimates done for the whole project rather than testing specific – lack of reliable methods designed for estimating software testing • Our aim – Introducing qEstimation for estimating size and effort of testing projects 4
  • 5. Agenda • Background and Motivation • qEstimation Process – Test Size Estimation – Test Effort Estimation • Conclusion 5
  • 6. Test Case qEstimation Process 6 Test Case Count TCPs of all Test Cases Estimate Testing Effort Parameters Counted Size Estimated Effort [Test Cycle i] Test Cycle Size Actual Effort Effort by Activity …. …. …. …. Test cycle i …. …. …. …. …. …. …. Historical Data of this Project Update Historical Data Calibrate Estimation Model Estimate size and effort of different test cycles of a same project:
  • 7. qEstimation Principles • Size measures complexity of each test cycle • Test case’s complexity is based on – Number of checkpoints – Complexity of test setup or precondition – Complexity of test data • Test Case Point (TCP) is used as size unit • Model refinement (calibration) is key to estimating effort – based on previous cycles of the current project or similar projects 7
  • 8. Count Size of Test Cycle • Size of a test cycle: total TCPs of all test cases to be executed in that test cycle • Steps: 8 Test Case Count Checkpoints Determine Set Up Complexity Determine Test Data Complexity Adjust based on Test Type (optional) Unadjusted TCPs TCPs
  • 9. Count Size of Test Cycle - 2 • Checkpoints – Checkpoint is the condition in which the tester verifies whether the result produced by the target function matches the expected criterion – One test case consists of one or many checkpoints 9 One checkpoint is counted as one TCP
  • 10. Count Size of Test Cycle - 3 • Test Setup or Precondition – Test setup specifies the condition to execute the test case • Include setup steps to prepare environment for testing – Four levels of Test Setup complexity • Each is assigned a number of TCPs 10 Number of TCP(*) Complexity Level Description 0 None • The set up is not applicable or important to execute the test case • Or, the set up is just reused from the previous test case to continue the current test case 1 Low • The condition for executing the test case is available with some simple modifications required • Or, some simple set-up steps are needed 3 Medium • Some explicit preparation is needed to execute the test case • Or, The condition for executing is available with some additional modifications required • Or, some additional set-up steps are needed 5 High • Heavy hardware and/or software configurations are needed to execute the test case
  • 11. Count Size of Test Cycle - 4 • Test Data – Test Data is used to execute the test case • It can be generated at the test case execution time, sourced from previous tests, or generated by test scripts – Four levels of Test Data complexity • Each is assigned a number of TCPs Number of TCP (*) Complexity Level Description 0 None • No test data preparation is needed 1 Low • Simple test data is needed and can be created during the test case execution time • Or, the test case uses a slightly modified version of existing test data and requires little or no effort to modify the test data 3 Medium • Test data is deliberately prepared in advance with extra effort to ensure its completeness, comprehensiveness, and consistency 6 High • Test data is prepared in advance with considerable effort to ensure its completeness, comprehensiveness, and consistency • This could include using support tools to generate data and a database to store and manage test data • Scripts may be required to generate test data
  • 12. Count Size of Test Cycle - 5 • Adjust TCPs based on Type of Test – This is an OPTIONAL step – Adjustment is based on types of test cases • Each type of test case is assigned a weight • Adjusted TCP of the test case = Counted TCP x Weight(*) 12
  • 13. Agenda • Background and Motivation • qEstimation Process – Test Size Estimation – Test Effort Estimation • Conclusion 13
  • 14. Estimate Effort of Test Cycle • Overview – Two estimation methods • Based on Test Velocity • Regression analysis of Size and Effort of completed test cycles – Effort distributed by activity • Test Planning • Test Analysis and Design • Test Execution • Test Tracking and Reporting 14 Each of these activities may be performed multiple times
  • 15. Estimate Effort of Test Cycle - 2 • Estimate Effort based on Test Velocity Effort(person-hour) = Size(TCP) / Test Velocity(TCP per person-hour) – Test Velocity is measured as TCP/person-hour • Test Velocity is dependent on project • It should be calculated based on data from completed test cycles of the same project. 15
  • 16. Estimate Effort of Test Cycle - 3 • Estimate effort using Linear Regression Analysis – Find out the equation of effort and size using similar completed test cycles of a project 16 y = 0.0729x + 1.6408 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 600 700 800 900 1000 Effort(PM) Adjusted TCP Equation of Size and Effort The data analysis tool like Excel can be used to find out the equation
  • 17. Calibrate qEstimation • Calibration: a process adjusting parameters for a model using historical data or experiences • With qEstimation, you can calibrate: (1) TCP assigned to each complexity level of Test Setup (2) TCP assigned to each complexity level of Test Data (3) Test Velocity (4) Effort distribution (5) Weights of test case types • Process can be done with the help of tools 17
  • 19. Conclusion • qEstimation is an agile approach to estimating tests – Estimate Size in TCP by measuring the complexity of test cases – Estimate Effort using Test Velocity or Regression – An Excel toolkit to simplify the approach • Advantages – Easy to implement – Reflecting real complexity of test cases – Independent with the level of details of test cases – Useful for estimating testing effort 19
  • 20. References • [1] Y. Yang, Q. Li, M. Li, Q. Wang, An empirical analysis on distribution patterns of software maintenance effort, International Conference on Software Maintenance, 2008, pp. 456-459 • [2] N. Patel, M. Govindrajan, S. Maharana, S. Ramdas, “Test Case Point Analysis”, Cognizant Technology Solutions, White Paper, 2001 • [3] QASymphony: www.qasymphony.com • [4] Vu Nguyen, Vu Pham, and Vu Lam. “qEstimation: a process for estimating size and effort of software testing.” Proceedings of the 2013 International Conference on Software and System Process. ACM, 2013
  • 21. © 2014 HCMC Software Testing Club Thank You