Main Content


Class: sltest.testmanager.TestSuite
Namespace: sltest.testmanager

Get test file options


opt = getOptions(ts)


opt = getOptions(ts) returns the test file options object sltest.testmanager.Options associated with the test suite ts.

Input Arguments

expand all

Test suite to get test file options from, specified as an sltest.testmanager.TestSuite object.

Output Arguments

expand all

Test file options, returned as an sltest.testmanager.Options object.


expand all

% Create the test file, test suite, and test case structure
tf = sltest.testmanager.TestFile('API Test File');
ts = createTestSuite(tf,'API Test Suite');
tc = createTestCase(ts,'baseline','Baseline API Test Case');

% Get the test file options
opt = getOptions(ts);

Version History

Introduced in R2017a