Escolar Documentos
Profissional Documentos
Cultura Documentos
Version 1.0
Approved by:
TestingQA.com
TestingQA.com
Table of Contents
1. SCOPE...................................................................................................................................................2
2. INTRODUCTION..................................................................................................................................3
3. CONVENTIONAL METHODS OF TEST ESTIMATION......................................................................3
4. CASE COMPARISON – CONVENTIONAL METHODS......................................................................3
4.1 AD-HOC METHOD...........................................................................................3
4.2 USE CASE/TEST CASE SAMPLING METHOD...............................................4
4.3 PERCENTAGE OF DEVELOPMENT EFFORT METHOD................................4
4.4 FUNCTION POINT PROPORTIONATE METHOD...........................................4
4.5 USE CASE POINT ESTIMATION METHOD.....................................................5
5. CONCLUSION......................................................................................................................................8
1. Scope
TestingQA.com
Test Effort Estimation
Version 1.0
This document is prepared in order to give insights about various methods to effectively
estimate an upcoming software testing endeavor.
2. Introduction
Proper analysis and effort estimation is required for effectively planning for a testing
project. Any flaw in this critical and initial phase of estimation results in schedule
overruns even at the rate of 200%ge.
There are different standard and non standard methods for test estimation. In some
typical product based companies, people employ non standardized but conventional
estimation methods to make things work. These methods might have evolved over a
continuous period accommodating hidden factors like nature of application,
environment, and risk factors for that specific product/market. But these methods can’t
be adopted as a generalized organization standard for a mature operation model.
The estimation methods are more scientific as we come down the above list.
Here we aim to give a discussion in detail about various conventional methods of test
estimation.
Typically, in this case the test effort crosses the deadlines and testing process continues
until the budgeted finance run out. The schedule overruns typically comes above 200%.
TestingQA.com
Test Effort Estimation
Version 1.0
Some use case section/test cases are selected based on sampling and a complete cycle of
test planning, scheduling, test data preparation, test case implementation and execution
is done. The total amount of use cases / test cases is multiplied with ratio of sampling to
get the total effort.
Example:
Say, 20 test cases out of 2000 test cases took 6 hours of testing effort. Then the total
effort calculated is:
Note: The development effort can be estimated using line of code (LOC) or function
point (FP) which is not in the scope of this document.
Example:
If a previous project with 500 FPs required 50 man hours for testing, the percentage of
testing effort is calculated as:
For the current project with a development effort, say 1500 FPs, the testing effort is:
TestingQA.com
Test Effort Estimation
Version 1.0
Now, as we got the number of test cases we can multiply with a factor from previous
data just as we did for Section 4.3, Percentage of development effort method.
Modern applications are highly object oriented and modeled around use cases rather
than function decomposition approach and this estimation method proves to be
inadequate in such cases.
Refer to Alistar for use case definition. Descriptively, use case is a document which
well specifies different users, systems or other stakeholders interacting with the
concerned application. They are named as ‘Actors’. The interactions accomplish some
defined goals protecting the interest of all stakeholders through different behavior or
flow termed as scenarios.
Example:
TestingQA.com
Test Effort Estimation
Version 1.0
Considering the entire system, analyze the different actors, their weights and occurrence
in the use case specification.
Determine the weights of different use cases in the system based on the complexity
(number of scenarios or transactions per use case) and obtain the unadjusted use case
weight.
Calculate the unadjusted use case points by adding UAW and UUCW as follows:
TestingQA.com
Test Effort Estimation
Version 1.0
= 61 + 50
= 111.
Determine the weights of each technical & environmental factor. Specify a relative
rating against the standard assigned value of listed technical/environmental items. The
product of these two is summed up to get the technical and environmental factor.
T3 Development environment 2 1 2
T4 Test environment 3 1 3
T6 Distributed system 4 4 16
T7 Performance objectives 2 1 2
T8 Security features 4 2 8
T9 Complex interfaces 5 2 10
TEF = 87.
Compute the adjusted use case points based on the standard formula:
Arrive at the total actual effort, by multiplying AUCP with a conversion factor
(organization specific factor which may vary upon language, technology or a
combination of them)
TestingQA.com
Test Effort Estimation
Version 1.0
Say, CF = 10, the effort required to plan, write and execute one use case point of a
similar domain (like Retail) or technology (like EJB)
5. Conclusion
There can’t be a single hard and fast rule for estimating the testing effort for a project.
There may be different other methods also which can be effectively used for the
purpose. It is advisory to add on to the possible knowledge base of test estimation
methods and estimation templates constantly revised based upon new findings.
TestingQA.com