This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

sltest.testmanager.ResultSet class

Package: sltest.testmanager
Superclasses:

Access results set data

Description

Instances of sltest.testmanager.ResultSet enable you to access the results from test execution performed by the Test Manager.

Construction

The function sltest.testmanager.run creates a sltest.testmanager.ResultSet object.

Properties

expand all

This property is read-only.

Coverage analysis results, returned as a row vector of cvdata objects. For information on cvdata objects, see cv.cvdatagroup.

This property is read-only.

Length of time the test ran, in seconds, returned as a positive integer.

This property is read-only.

Release in which the test was run, returned as a character vector.

This property is read-only.

Number of test cases that were disabled in the results set.

This property is read-only.

Number of failed tests contained in the results set.

This property is read-only.

Number of passed tests contained in the results set.

This property is read-only.

Number of test case results that are direct children of the results set object.

This property is read-only.

Number of test suite results that are direct children of the results set object.

This property is read-only.

Number of test file results that are direct children of the results set object.

This property is read-only.

Total number of tests in the results set.

This property is read-only.

Test outcome, returned as Passed or Failed.

This property is read-only.

Time the test began to run, returned as a character vector.

This property is read-only.

Time the test completed, returned as a character vector.

Methods

getCoverageResultsGet coverage results
getTestCaseResultsGet test case results object
getTestFileResultsGet test suite results object
getTestSuiteResultsGet test suite results object
removeRemove result set

Examples

collapse all

Get results from running a test file with sltest.testmanager.run.

result = sltest.testmanager.run;
testCaseResultArray = result.getTestCaseResults;
testSuiteResultArray = result.getTestSuiteResults;

Introduced in R2015a