This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Class: sltest.testmanager.TestCase
Package: sltest.testmanager

Remove test case




remove(tc) removes the test case. The test case object is empty after a call to this function. Parameter overrides, baseline criteria, or equivalence criteria associated with the test case become invalid.

Input Arguments

expand all

Test case to remove, specified as an sltest.testmanager.TestCase object.


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 test case
tc = sltest.testmanager.TestCase(ts,'equivalence',...
'Eq Test Case');

% Remove the test case

Introduced in R2015b