Information Technology Reference
In-Depth Information
So productivity may vary from place to place. Now let us take one example for
calculating effort required in test case generation, script generation, and test case
execution for both manual testing and automation testing.
Let us see how we can calculate effort estimation for the entire project including
functional testing, regression testing, integration testing, and so on.
Total effort for manual test case generation (A)
=
Number of manual test cases
×
Productivity
Total effort for manual test case execution (B)
=
Number of manual test cases
×
Productivity
where Productivity
=
Number of test cases executed/Time.
Similarly, for automated test cases we can compute effort required for test case
generation. But in this case we also have to compute effort required to create script.
So in the case of automated test cases,
Effort required to generate test case
+
script (C)
=
Number of test cases
×
Productivity
+
Total LOC
×
Productivity
Similarly, the effort required to execute automated test cases (D)
=
number of test cases
×
productivity.
Summing all of them will give effort required for creation and execution of
entire test cases for the project.
Effort required for entire project (X)
=
A
+
B
+
C
+
D
Apart from the test case writing, automation, and execution, we also have other
efforts in the project. So we end up making effort estimates for planning effort,
management effort, rework effort, and so on.
Total project effort
=
Total testing effort
+
Regression testing effort
+
Planning effort
+
Management effort
+
Rework effort
4.3.5
Synopsis
Effort estimation is a very important activity in any project. Budget, resource allo-
cation, and project success will depend a lot on how good your effort estimate is. If
your estimate is less than the effort eventually required, then you will not be able to
get those extra resources, and in that case your project may be doomed to fail.