Showing posts with label Test Coverage. Show all posts
Showing posts with label Test Coverage. Show all posts

Sunday, 16 August 2015

How to calculate Test Execution Coverage ?

Test Execution Coverage is the ratio of Total no. of test cases or scripts executed to Total no. of test cases or scripts planned to execute.
Test Execution Coverage is used to determine the coverage of testing and measured at test execution phase.
How to calculate Test Execution Coverage:
Test Execution Coverage = Total no. of test cases or scripts executed / To Total no. of test cases or scripts planned to execute *100
Example:

Total no. of test cases or scripts executed
To Total no. of test cases or scripts planned to execute
Test Execution Coverage
990
1000
99

Test Execution Coverage = 990 / 1000 * 100
                                              = 99 %

Sunday, 9 August 2015

How to calculate Test Design Coverage ?

Test Design Coverage is the ratio of Total number of testable requirements mapped to test cases or Scripts to Total number of base lined testable requirements. This metric helps to measure the functional coverage of test cases designed and improve the test coverage.

Test Design Coverage  is calculated at test design phase. It is measured in percentage (%).

How to calculate Test Design Coverage:

Test Design Coverage = (Total number of testable requirements mapped to test cases or Scripts) / (Total number of base lined testable requirements)*100

Total no.of base lined testable requirements
mapped to test cases
Total no. of base lined testable requirements
Test Design Coverage
990
1000
99

Test Design Coverage = 990 / 1000 *100
                                     =   99 %