remove

Class: sltest.testmanager.ResultSet
Package: sltest.testmanager

Remove result set

Syntax

remove(result)

Description

remove(result) removes result, a sltest.testmanager.ResultSet object. If the Test Manager is visible, the corresponding results are removed from the Results and Artifacts pane.

Input Arguments

expand all

Results set to get test file results from, specified as a sltest.testmanager.ResultSet object.

Examples

Run a Test and Remove the Result

% Create a test file
tf = sltest.testmanager.TestFile('ControllerTests.mldatx');

% Run the test
result = run(tf);

% Remove the result
remove(result)

Introduced in R2019a