sltest.testmanager.TestFile Class
Namespace: sltest.testmanager
Create or modify test file
Description
Instances of sltest.testmanager.TestFile
are files that can contain
test suites and test cases.
For a MATLAB®-based Simulink® test, the MATLAB code (.m
) test file name corresponds to the
test file (.mldatx
) filename. See Test Models Using MATLAB-Based Simulink Tests for more
information.
The sltest.testmanager.TestFile
class is a handle
class.
Creation
Description
opens the obj
= sltest.testmanager.TestFile(filePath
)sltest.testmanager.TestFile
that exists with the same
filename and at the specified FilePath
location. If the test file does not exist at the location, a new one is created with a
default test suite and test case as children of the test file. The default test case type
is a baseline test case.
overwrites the existing test file if obj
= sltest.testmanager.TestFile(filePath
,mode
)mode
is set to
true
. The default for mode is false
.
Properties
Methods
Examples
Version History
Introduced in R2015b