Documentation

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

The number of passed tests contained in the results set.

The number of failed tests contained in the results set.

The number of test cases that were disabled in the results set.

The total number of tests in the results set.

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

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

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

This property is read-only.

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

Methods

getCoverageResultsGet coverage results
getTestCaseResultsGet test case results object
getTestFileResultsGet test suite results object
getTestSuiteResultsGet test suite results object

Examples

expand 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

Was this topic helpful?