Access test suite results data
you to access the results from test execution performed by the Test
Manager at a test-suite level.
sltest.testmanager.ResultSet object, which contains
the test suite result object. You can also create a test suite result
directly if you use
sltest.testmanager.TestSuite.run to execute
tests in an individual test suite.
NumDisabled— Number of disabled tests
The number of test cases that were disabled in the test suite result.
NumFailed— Number of failed tests
The number of failed tests contained in the test suite result.
NumPassed— Number of passed tests
The number of passed tests contained in the test suite result.
NumTestCaseResults— Number of test case result children
The number of test case results that are direct children of the test suite result.
NumTestSuiteResults— Number of test suite result children
The number of test suite results that are direct children of the test suite result.
NumTotal— Total number of tests
The total number of tests in the test suite result.
Release— Release in which the test was run
This property is read-only.
Release in which the test was run, returned as a character vector.
TestFilePath— Test file path
The path of the test file used to create the result.
TestSuitePath— Result hierarchy path
The hierarchy path in the parent result set.
|getCleanupPlots||Get plots from cleanup callbacks|
|getCoverageResults||Get coverage results|
|getSetupPlots||Plots from setup callbacks|
|getTestCaseResults||Get test case results object|
|getTestSuiteResults||Get test suite results object|
% Run test file in Test Manager and output results set resultset = sltest.testmanager.run; % Get test file result object tfr = getTestFileResults(resultset); % Get test suite result object tsr = getTestSuiteResults(tfr);