Main Content


Class: sltest.testmanager.TestFileResult
Namespace: sltest.testmanager

Get test suite results object


testSuiteResultArray = getTestSuiteResults(result)


testSuiteResultArray = getTestSuiteResults(result) gets the test suite results that are direct children of the test file results object.

Input Arguments

expand all

Test file results to get test suite results from, specified as a sltest.testmanager.TestFileResult object.

Output Arguments

expand all

Test suite results, returned as an array of sltest.testmanager.TestSuiteResult objects. The function returns objects that are direct children of the test file results input object.


expand all

Use the to return a result set that contains test file, test suite, and test case results.

% Run tests in the Test Manager
result =;

% Get the test file results
testFileResultArray = getTestFileResults(result);

% Get the test suite results
testSuiteResultArray = getTestSuiteResults(testFileResultArray);

Version History

Introduced in R2016a