metric.Engine
Collect metric data on model testing artifacts
Description
Use a metric.Engine
object represents the metric engine that
you can execute with the execute
object function to collect metric data on
the status and quality of requirements-based testing activities. Use
getMetrics
to access the metric data and return an array of
metric.Result
objects. The metrics analyze testing artifacts such as
requirements, test results, and coverage results. Use the metric data to assess the status and
quality of your requirements-based model testing.
Creation
Description
creates a
metric engine object that collects metric data on the current project.metric_engine
= metric.Engine()
opens the project metric_engine
= metric.Engine(projectPath
)projectPath
and creates a metric engine object that
collects metric data on the project.
Input Arguments
Properties
Object Functions
execute | Collect metric data for Model Testing Dashboard |
generateReport | Generate report file that contains metric results |
getArtifactErrors | Return errors that occurred during artifact tracing |
getAvailableMetricIds | Return metric identifiers for available metrics |
getMetrics | Access metric data for model testing artifacts |
openArtifact | Open testing artifact traced from the metric result |
updateArtifacts | Update trace information for any pending artifact changes in the project |