Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

maeCopyTestToRun

maeCopyTestToRun(
t_testName
[ ?session t_session ]
[ ?run t_run ] | [ ?all g_all ]
)
=> t / nil

Description

Copies one or more tests from the active setup to a run in the run plan.

Arguments

t_testName

Name of the test in the active setup to be copied to a particular run in the run plan.

?session t_session

Name of the session. If not specified, the current session is used.

?run t_run

Name of the run in the run plan where the specified test is to be copied.

?all g_all

A Boolean value that specifies whether to copy the test to all runs available in the given session. By default, this argument is set to nil.

The valid values are t and nil.

You must specify either ?run or ?all.

Value Returned

t

The specified test is successfully copied to the run plan.

nil

Indicates an error.

Examples

The following example copies the test AC to run Run.2:

maeCopyTestToRun("AC" ?run "Run.2")

The following example copies the test AC to all runs in the run plan:

maeCopyTestToRun("AC" ?all t)

The following example copies multiple tests to run Run.2:

maeCopyTestToRun(list("Test.1" "Test.2" "Test.3") ?run "Run.2")

The following example copies multiple tests to runs Run.2 and Run.3:

maeCopyTestToRun(list("AC" "AC1" "AC2") ?run list("Run.2" "Run.3"))

Return to top
 ⠀
X