Test Effort Estimation Models Based on Test Specifications Eduardo Aranha Paulo Borba TAIC PART 2007 Informatics Center of the Federal University of Pernambuco, Brazil Motorola Brazil Test Center Research Project
How to plan test schedules and resources? Several development teams Limited test resources Test of different parts of different applications
How Can We do Test Estimations? Test team Product Exp. Test Capability … Quality Test Specifications Test Size / Complexity … Test Platform Test Environment Test Tools … Test Estimates Test Estimation Model
Proposed Estimations Models Manual Test Execution Effort Estimation The specifications of a given test suite Test Coverage x Execution Effort Analysis Test Automation Effort EstimationCost-benefit Analysis to Prioritize Tests for Automation The specifications of a given test suite Maximum Effort (optional) The specifications of a given test suite 23.5 man-hours Estimated test execution effort APIs, Experience,...Tools, Experience,... The specifications of a given test suite APIs, Experience,... Tools, Experience, man-hours Estimated test automation effort Tests to execute manually Frequency of execution Quality Criteria Tests sorted to maximize coverage with minimal effort … Tests to not execute Tests to automate …
Assigning Points to Test Specifications Test Specification b AvgLowHigh 30 c... Contribution of the Test Step: 220 d Points Assigned to the Test Case: e a System Characteristics Exercised by the Test Step C 2 C 1 … C n Screen navigation File manipulation Pressed keys Network usage c Influence Levels b AvgLowHigh Guidelines Calibration Automation
Give us the possibility to Sort the tests Better analyze test productivity Better analyze team capacity Execution Points and Automation Points
Empirical Studies in the Mobile Application Domain Survey and expert assessment Identify relevant characteristics and risk factors Define influence levels and weights Experiment Validate the measure of test size and execution complexity Calibration of characteristics weights based on the collected data Case studies Calibration of risk factors based on the collected data Evaluate the accuracy of the estimation model Verify the cost to use the model in the mobile application domain
Conclusions New aproach of test effort estimation and test selection Based on the test specification Test size and execution/automation complexity Team experience, environment conditions, etc. Empirical studies to calibrate and evaluate the model
Questions? Test Effort Estimation Models Based on Test Specifications Eduardo Aranha Paulo Borba Informatics Center of the Federal University of Pernambuco, Brazil Motorola Brazil Test Center Research Project