Test Case Tag
Metric ID
TestCaseTag
Description
This metric returns the tags for a test case. You can add custom tags to a test case by using the Test Manager.
Computation Details
The metric includes only test cases in the project that test the model or subsystems in the unit for which you collect metric data.
Collection
To collect data for this metric:
In the Model Testing Dashboard, click a widget in the Tests with Tag section to display the results in a table.
Use
getMetrics
with the metric IDTestCaseTag
.
Collecting data for this metric loads the model file and test files and requires a Simulink® Test™ license.
Results
For this metric, instances of metric.Result
return
Value
as a string.