Main Content
createTestCase
Class: sltest.testmanager.TestSuite
Namespace: sltest.testmanager
Create test case
Syntax
tc = createTestCase(ts,type,name)
tc = createTestCase(ts,type,name,runOnTarget)
tc = createTestCase(ts,type,name,runOnPlatform="platform")
Description
creates a new test case of the specified type and name within the specified test
suite.tc
= createTestCase(ts
,type
,name
)
creates a new test case for real-time testing.tc
= createTestCase(ts
,type
,name
,runOnTarget
)
creates a new test case that runs on the specified platform. When
tc
= createTestCase(ts
,type
,name
,runOnPlatform="platform
")runOnPlatform="RoadRunner"
, the type
must be
"simulation"
.