sltest.testmanager.TestOptions Class
Namespace: sltest.testmanager
Description
Use an sltest.testmanager.TestOptions
object to specify the options to use
when you add missing coverage to a test. Use this object with sltest.testmanager.addTestsForMissingCoverage
.
The sltest.testmanager.TestOptions
class is a handle
class.
Creation
creates a testOpts
= sltest.testmanager.TestOptions()TestOptions
object with default properties. After creating the
object, set the TestFilePath
, TestCase
,
Parent
, HarnessOwner
, and
HarnessName
properties.
creates a testOpts
= sltest.testmanager.TestOptions(tc
)TestOptions
object for the
sltest.testmanager.TestCase
object, tc
. Use this syntax
to append added coverage to the test case. The TestFilePath
,
Parent
, HarnessOwner
, and
HarnessName
properties are automatically populated.
creates a testOpts
= sltest.testmanager.TestOptions(harnessOwner
,harnessName
)TestOptions
object for the test harness,
harnessName
, that is associated with model or model element,
harnessOwner
. Use this syntax to reuse a test harness for a new test
case.
Properties
Examples
Version History
Introduced in R2022a