Professional Documents
Culture Documents
9/4/2014
Abstract: One of the major challenges in Testing is whether all possible scenarios and possible
cases are covered for the mentioned requirement. There is no standard answer for this and it is
difficult to say “Yes” it is covered. If it is then how can we ensure it is covered? This paper is
about one of the test case designing technique, on coming with various possible cases by deriving
the Factors and corresponding values.
Effective Test Coverage Techniques
1 Introduction:
The quality and effectiveness of software testing is largely determined by the quality of
the test cases we develop. The challenge of providing coverage through the test plan is
very important, for full functionality coverage. However, in Software Testing there is no
quantitative method to measure the Test coverage.
This paper will describe a methodology of coming up with Test Coverage Matrix using
“Factor/Value” concept. The same has been described in detail in below sections.
Let’s see the example of how we can develop the test cases using the Factors/Values.
Installer should support fresh and upgrading from older version of application
Uninstallation of application should be suppored and it should be done cleanly
Example:
2
Effective Test Coverage Techniques
Example:
Factor Value Description
Fresh
INSTALLATION Upgrade from older
version
From control panel/
uninstall script
UNINSTALLATION
Double clicking
installer file
3
Effective Test Coverage Techniques
Example:
Uninstalling
Uninstalling
From control
Double clicking
Values panel/ uninstall
installer file
script
1 2
Fresh
A X X
Installation
Upgrade
B X X
Installation
4
Effective Test Coverage Techniques
Example:
Factor Value 0001 0002 0003 0004
Fresh Installation X X
Installation Upgrade
X X
Installation
From control
A1 B1
panel
Uninstallation Uninstalling
Double clicking A2 B2
installer file
Test
One Line Description TC ID
Scenario ID
Example:
Test
One Line Description TC ID
Scenario ID
Verification of fresh installation and uninstallation from
0001
control panel
Verification of fresh installation and uninstallation by double
0002
clicking the installer file
Verification of Upgrade installation and uninstallation from
0003
control panel
Verification of Upgrade installation and uninstallation by
0004
double clicking the installer file
5
Effective Test Coverage Techniques
5 Benefits:
1. This approach enables test team to cover the breadth oriented testing
2. The completeness of test coverage matrix reduces the gaps in the test cases
3. Premutations and combinations of the factors and vlaues helps in largesly uncover all the
scenarios
4. Overall all these Benefits give a better quality product with reduced in number of defects can
occur in the field.