Wednesday, May 26, 2010

Estimating Testing Effort

Time Estimation method for Testing ProcessNote : following method is based on use case driven specification.
Step 1 : count number of use cases (NUC) of system
step 2 : Set Avg Time Test Cases(ATTC) as per test plan
step 3 : Estimate total number of test cases (NTC)Total number of test cases = Number of usecases X Avg testcases per a use case
Step 4 : Set Avg Execution Time (AET) per a test case (idelly 15 min depends on your system)Step 5 : Calculate Total Execution Time (TET)TET = Total number of test cases * AET
Step 6 : Calculate Test Case Creation Time (TCCT)useually we will take 1.5 times of TET as TCCTTCCT = 1.5 * TET
Step 7 : Time for ReTest Case Execution (RTCE) this is for retestinguseually we take 0.5 times of TETRTCE = 0.5 * TET
Step 8 : Set Report generation Time (RGTusually we take 0.2 times of TETRGT = 0.2 * TET
Step 9 : Set Test Environment Setup Time (TEST)it also depends on test plan
Step 10 : Total Estimation time = TET + TCCT+ RTCE + RGT + TEST + some buffer…;)Example
Total No of use cases (NUC) : 227
Average test cases per Use cases(AET) : 10
Estimated Test cases(NTC) : 227 * 10 = 2270
Time estimation execution (TET) : 2270/4 = 567.5 hr
Time for creating testcases (TCCT) : 567.5*4/3 = 756.6 hr
Time for retesting (RTCE) : 567.5/2 = 283.75 hr
Report Generation(RGT) = 100 hr
Test Environment Setup Time(TEST) = 20 hr.——————-
Total Hrs 1727.85 + buffer——————-
here 4 means Number of testcases executed per houri.e 15 min will take for execution of each test case

3 comments: