createTestSuite

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

Create test suite

Syntax

tsOut = createTestSuite(ts,suiteName)

Description

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 character vector. If this input argument is empty, then the Test Manager gives the test suite a unique name.

Output Arguments

expand all

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

Examples

expand all

% Create test file
tf = sltest.testmanager.TestFile('C:\MATLAB\test_file.mldatx');

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

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

Introduced in R2015b