Viewing document test coverage statistics
The Document Test Coverage panel shows the traceability for all requirements in the current document, independent of the filters used in the document to narrow the requirements.
The document test coverage panel is not available in:
- Snapshots
- Review Mode View
The document test coverage panel consists of the following elements:
- Document test coverage status bar This bar uses the colors for the passed, failed, not tested, not covered, and excluded requirements that exist in the document. Clicking on the color shows those requirements in the document window.
- Refresh button Requests server to rebuild the document test coverage data and update the toolbar. Clicking the refresh button reloads the cached test coverage data and the document window is reset to show the total requirements. If a requirement is added or removed, the last refresh date color appears in red and a tool tip indicates that a requirement has been added or removed since the document test coverage data was last refreshed.
- Bar count The bar count shows all requirements that are included in the document, including any requirements that might be hidden based the security group filter. For example, if you change the filter for the requirements to only show functional requirements, the requirements shown in the document window change but the counts in the coverage status bar do not. If you click on the link to show the requirements for a status, such as all passed, any requirements excluded due to your security group filter do not appear in the document window.
- Configure button This allows you to configure the document test coverage panel. See Configuring document test coverage.
Document test coverage labels
Label/Link | Description |
---|---|
Total | Document is not filtered by the test coverage bar. Note that the document can be filtered independently. Total always appears. The other labels only display if requirements of that type exist. |
Passed | Shows all requirements that are linked to test cases where all the latest test runs, based on creation date, or automated test results have passed. All test results must have passed for the requirement to be shown as passed. |
Failed | Shows all requirements that are linked to test cases where any of the latest test runs, based on creation date, or automated test results have failed. If any test result has failed, the requirement is shown as failed. |
Not Tested | Shows all requirements that are linked to test cases where the latest test runs, based on creation date, or automated test results have an undetermined or no test result. If there are no failed results and there is any result that does not have a result, then the requirement is shown as not tested, even if there are passed results. |
Not Covered | Shows all requirements that do not have the Exclude from requirement document test coverage checked for their requirement type and do not have a test case linked to them. See Adding requirement types. |
Excluded | Shows all requirements in the document that have the Exclude from requirement document test coverage option selected for their requirement type.
Excluded requirements do not appear in the bar. |