getTestFileResults

Class: sltest.testmanager.ResultSet
Package: sltest.testmanager

Get test suite results object

Syntax

testFileResultArray = getTestFileResults(result)

Description

testFileResultArray = getTestFileResults(result) gets the test file results that are direct children of the results set object.

Input Arguments

expand all

Results set to get test file results from, specified as a sltest.testmanager.ResultSet object.

Output Arguments

expand all

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

Examples

expand all

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

% Run tests in the Test Manager
result = sltest.testmanager.run;

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

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

% Get the test case results
testCaseResultArray = getTestCaseResults(result);

Introduced in R2016a