Package: sltest.testmanager
Superclasses:
Create or modify test file
Instances of sltest.testmanager.TestFile
are files that can contain test
suites and test cases.
For MATLAB®-based Simulink® tests, test files correspond to the file name. See Test Models Using MATLAB-Based Simulink Tests for more information.
creates a obj
= sltest.testmanager.TestFile(filePath
,mode
)sltest.testmanager.TestFile
object with a default test
suite and test case as children of the test file. The default test case type is a
baseline test case. If the test file exists on the path, a new test file is not
created.
close | Close test file in Test Manager |
convertTestType | Convert test from one type to another |
createTestForSubsystem | (To be removed) Create test harness and test case for subsystem in test file |
createTestSuite | Create new test suite |
getCoverageSettings | Get coverage settings |
getOptions | Get and set test file options |
getProperty | Get test file property |
getTestCaseByName | Get test case object by name |
getTestCases | Get test cases in a test file |
getTestSuiteByName | Get test suite object by name |
getTestSuites | Get test suites at first level of test file |
run | Run test cases in test file |
saveToFile | Save test file |
setProperty | Set test file property |