sltest.testmanager.TimingInfo Class
Namespace: sltest.testmanager
Description
Objects of the sltest.testmanager.TimingInfo class contain the durations of
the test execution phases for test results. The phases, which are properties of the
TimingInfo object, are:
The specific test execution phases returned in the TimingInfo object
depend on whether you obtain timing information at the test file, test suite, test case, or
test iteration hierarchy level. At the test file and test suite levels, only the
Setup and Cleanup callbacks and
Coverage
TimingInfo object properties are available. At the test case and test
iteration levels, all of the TimingInfo
properties, except Setup and Cleanup callbacks, are
available. If a phase is not included in a test, the property for that phase is omitted from
the TimingInfo object. If a test fails, the TimingInfo object
includes information up to the failure point.
To view the timing information for a test file result, test suite result, test case
result, or test iteration result programmatically, use its getTimingInfo
method.
Note
Multiple-release tests, real-time tests, RoadRunner tests, and tests that you run using
Run with Stepper do not create TimingInfo objects.
Timing information is also not available for result sets.
Test result reports do not include timing information data.
The sltest.testmanager.TimingInfo class is a handle class.
Creation
You do not create sltest.testmanager.TimingInfo objects explicitly. Running
a test creates the test result set object, which contains the TimingInfo from
the test results.
Properties
Examples
Version History
Introduced in R2024a
