Updating the test case document: Test conditions matrix (TestCondMatrix)
The Test Condition matrix provides a high-level view of the different permutations and combinations of parameters and test data that is used in each test case. Each scenario has its own matrix.
The test condition matrix serves
the following purposes:
- Facilitates creating unique test cases for each scenario by using different permutations and combinations of parameters and test data.
- Shows how many test cases to create by scenario, which maps to how many data sets you have for this scenario.
- Ensures that test cases are not repeated with the same test condition.
- Ensures that all necessary test conditions for a use case are covered by test cases.
- Provides a high-level overview to help reviewers understand the test condition coverage for each test case.
About this task
The TestCondMatrix tab
contains
the following sections:
- Test scenario
- A reference cell that contains the name of the scenario from the scenario to use cases mapping tab. Values are automatically populated and no updates are required.
- Scenario objective
- A reference cell that contains a brief description of the objective referenced from scenario to use case mapping tab. Values are automatically populated and no updates are required.
- Test case name
- The test case name is a unique identifier that identifies
a test
case. The test case name is the scenario name with incremental numbers
appended. For example,
FSTORE.B2C.01-1
. - Test condition
- A set of different permutations
and combinations of parameters
or data. Test conditions are logically grouped for easy reference.
Conditions are mapped with test cases to meet the following guidelines:
- Each condition is covered in at least one test case.
- No
two test cases cover the same conditions. The left column lists
different variables and their possible values for this test scenario.
For example, Logon ID is a variable for a registration
scenario, it has the values:
Valid
,Invalid
, andEmpty
.
You can add a test condition matrix, change an existing test condition matrix or remove a test condition matrix.
- Add
A test condition matrix is added to the test condition tab if a new test scenario is added in the scenarios to use case mapping tab.
- Change
- A use case is added to an existing test scenario that introduces new test conditions and values
- Existing test conditions or values are modified as a result of use case modification
- A test case is added to increase test coverage
- A use case is removed from an existing Test scenario that removes Test Conditions and Values from the matrix
- A use case is modified in an existing Test scenario that removes Test Conditions and Values from the matrix
- Remove
A test condition matrix is removed when a test scenario table is removed from the scenarios to use cases mapping tab.