convertTestType
Class: sltest.testmanager.TestFile
Namespace: sltest.testmanager
Convert test from one type to another
Syntax
convertTestType(tf,testType)
Description
convertTestType(
converts the test case type to a different type. The function converts
all test cases contained in the test file. If you want
to convert a single test case, then use the tf
,testType
)convertTestType (TestCase)
method.
If you convert certain test case types to another type, then you can lose information about the original test case:
Baseline to simulation or equivalence — baseline criteria is lost
Equivalence to simulation or baseline — equivalence criteria is lost for Simulation 1 and 2
Input Arguments
Examples
Alternatives
You can also convert the test case type using the context menu in the Test Browser pane. Right-click the test file, select Convert to, and then select the test case type you want to convert the test cases to.
Version History
Introduced in R2016b