Requirement with Test Case
Use this metric to determine whether a requirement is linked to a test with a link
where the Type is set to
Verifies. The metric
analyzes only requirements where the Type is set to
Functional and that are linked to the unit with a link where the
Type is set to
Analyzes only requirements where the Type is set to
Functionaland that are linked to the unit with a link where the Type is set to
Counts links to tests in the project where the link type is set to
Verifies, including links to tests that test other models or subsystems. For each requirement that is linked to tests, check that the links are to tests that run on the unit that implements the requirement.
To collect data for this metric:
In the Model Testing Dashboard, click a metric in the Requirements Linked to Tests section and, in the table, see the Test Link Status column.
getMetricswith the metric ID
Collecting data for this metric loads the model file and requires a Requirements Toolbox™ license.
For this metric, instances of
Value as one of these logical outputs:
0— The requirement is not linked to tests in the project.
1— The requirement is linked to at least one test with a link where the Type is set to