This task describes how to create requirement coverage for flows and business components in addition to test configurations.
This task is part of a higher-level task. For details, see Plan business process tests and flows.
To learn more about Requirement Coverage, see Requirement Coverage Overview.
When defining the criteria that ALM should use to calculate coverage for a test configuration, keep in mind that the same criteria are used for all configurations of the test. It is not possible to define different criteria for different configurations for the same test.
- Make sure that requirements are defined in the project.
- Make sure that the test has defined parameters.
You can create coverage from either the Test Plan module, or from the Requirements module.
From the Test Plan module. In the Test Plan module, select the Test Plan Tree view. Select the business process test or flow, and click the Req Coverage tab. Click the Select Req button to display the requirements tree in the right pane. Select the requirements to add and click the Add to Coverage button. For user interface details, see the Micro Focus Application Lifecycle Management User Guide
: Req Coverage Tab.
You can view the criteria you defined in the Criteria tab. For user interface details, see Micro Focus Application Lifecycle Management User Guide
: Criteria Tab.
From the Requirements module. In the Requirements module, select the Requirement Details view. Select a requirement and click the Test Coverage tab. Click the Select button to display the test plan tree in the right pane. Select the flows or tests to add and click the Add to Coverage button.
ALM does not create criteria for a flow's business components when selecting a flow from the test plan tree. To add business components as criteria, add coverage by selecting the corresponding business process test from the test plan tree.
For user interface details, see the Micro Focus Application Lifecycle Management User Guide
: Test Coverage Page.
Modify the Criteria for Requirement Coverage - optional
You can modify requirement coverage by criteria in the Criterion Settings tab of the Req Coverage tab. For user interface details, see the Micro Focus Application Lifecycle Management User Guide
: Req Coverage Tab.
Setting criteria for coverage enables you to analyze requirement coverage on a detailed level, such as by business component and flow, and not only on a general level, such as by test. The following analysis methods are available:
Analysis method Description Access
Coverage Analysis View
When working with Business Process Testing, this view enables you to examine the status of requirements according to criteria coverage.
Criterion Results Tab
Displays results of the last test criteria run for the selected business process test.
Perform one of the following:
- In the Test Lab module > Test Sets tab, select a test set and click the Execution Grid tab. Then select a business process test. The tab is displayed in the lower pane.
- In the Test Runs module > Test Runs tab, select a business process test run. The tab is displayed in the lower pane.
- In the Test Lab module > Run Details dialog box sidebar select Criterion Results.
Criteria Status dialog box
Displays the status of each criterion for the last test criteria run used for the coverage of the selected requirement.
In the Test Configuration Status tab, in the Status column, click the hypertext link for the business process test. For user interface details, see the Micro Focus Application Lifecycle Management User Guide
: Test Configuration Status Tab.
Note: If there is no hypertext link to click, it means no components or flows have been added to the test, and therefore there are no criteria to check. Add components to the test in the Test Plan module and refresh the display in the Requirements module.
Create Test Criteria Reports
You can create a template-based report for tests that includes test criteria coverage.
For task details, see the Micro Focus Application Lifecycle Management User Guide
: How to Create a Custom Report Template.