convertTestType
Class: sltest.testmanager.TestSuite
Namespace: sltest.testmanager
Convert test from one type to another
Syntax
convertTestType(ts,testType)
Description
convertTestType(
converts the test case type to a different type. The function converts
all of the test cases contained in the test suite. If
you want to convert a single test case, then use the ts
,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 suite, select Convert to, and then select the test case type you want to convert the test cases to.
Version History
Introduced in R2016b