Collect metric data on model testing artifacts
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.
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.
execute | Collect metric data for Model Testing Dashboard |
getMetrics | Access metric data for model testing artifacts |
generateReport | Generate report file that contains metric results |
openArtifact | Open testing artifact traced from the metric result |
getArtifactErrors | Return errors that occurred during artifact tracing |