createTestSuite

Class: sltest.testmanager.TestFile
Package: sltest.testmanager

Create new test suite

Syntax

ts = createTestSuite(tf,suiteName)

Description

ts = createTestSuite(tf,suiteName) creates a test suite and adds it to the test file.

Input Arguments

expand all

Test file that you want to create the test suite within, specified as a sltest.testmanager.TestFile object.

Name of the test suite, specified as a character vector.

Example: 'My Test Suite'

Output Arguments

expand all

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

Examples

expand all

% Create a test file
tf = sltest.testmanager.TestFile('My Test File');

% Create a test suite
ts = createTestSuite(tf,'My Test Suite');
Introduced in R2015b