Main Content


Class: sltest.testmanager.TestSuite
Package: sltest.testmanager

Create test suite


tsOut = createTestSuite(ts,suiteName)


tsOut = createTestSuite(ts,suiteName) creates a new test suite.

Input Arguments

expand all

Test suite that want to add another test suite to, specified as an sltest.testmanager.TestSuite object.

Test suite name, specified as a string scalar or character vector. If this input argument is empty, then the Test Manager gives the test suite a unique name.

Example: "My Test Suite"

Output Arguments

expand all

Test suite, returned as an sltest.testmanager.TestSuite object.


expand all

% Create test file
tf = sltest.testmanager.TestFile("test_file");

% Create test suite
ts = sltest.testmanager.TestSuite(tf,"My Test Suite");

% Create another new test suite using method
ts2 = createTestSuite(ts,"Baseline Tests")

Version History

Introduced in R2015b