Updating the test case document: UsecaseScenarioMap
Use Case to Scenarios mapping provides a link between the project Use Cases that are identified for implementation and the test scenarios to run.
The Use Case to Scenarios
mapping matrix serves the following purposes:
- Brainstorm and determine the scenario coverage for each use case.
- Help to ensure that each supported use case is covered by at least one scenario.
- Ensure use cases that contain common flows, such as logging in to store, are tested with multiple scenarios.
- Help identify any test gaps or areas where coverage can be reduced with minimal risk.
- When completed, this matrix gives an architect, test manager, and customer representatives a quick overview of the test coverage in comparison to the requirements defined in the Use Case document. This mapping allows traceability throughout the test cycle.
- Use Cases
- All the use cases that are supported by the project are listed in this left column.
- Test Scenarios
- All test scenarios that are tested in this project are listed in this top row.
- Mapping Table
- A matrix which shows the relationships between the Use Cases (down the left side) and the Test Scenarios (listed along the top).
Before you begin
This matrix can
be updated many times throughout the creation
of the test case document. These steps detail how to alter them from
the provided samples which are based on the Starter Store. Do the
following to determine what updates needed for the matrix:
- Identify any Use Cases that are added, altered, or removed during the requirements/design phase.
- Review the existing Test Scenarios that incorporate these altered Use Cases. Confirm if they must have other Use Cases that are removed or altered in each existing flow.
- Review the alterations to the Use Case and confirm if any new coverage is needed. If so, add Test Scenarios by following the instructions that are described in the following sub sections.
- Review overall matrix to ensure that each Use Case has adequate coverage or is not overly focused in this test phase.