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

maeEnableTests

maeEnableTests(
[ ?run t_run ]
[ ?testNames l_testNames ]
[ ?enable g_enable ]
[ ?session t_session ]
[ ?all g_all ]
)
=> t / nil

Description

Enables or disables the specified tests for the specified run in the run plan or in the active setup of ADE Assembler.

Arguments

?run t_run

Name of run for which tests are to be enabled or disabled. By default, this argument is set to "" and the status of tests is changed in the active setup of ADE Assembler.

?testName l_testNames

List of the names of tests to be enabled or disabled. By default, this argument is set to nil.

?enable g_enable

A Boolean value that specifies the status to be set for the specified tests in the given run.

  • t: Enables the specified tests. This is the default.
  • nil: Disables the specified tests.

?session t_session

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

?all g_all

Enables or disables all tests in the given run.

  • t: Enables all tests in the given run. This is the default.
  • nil: Disables all tests in the given run.

Value Returned

t

Enables or disables the specified tests.

nil

No change is made to the status of the tests.

Examples

Enables tests testA and testB in the setup of run Run.0:

maeEnableTests(?run "Run.0" ?testNames '("testA" "testB"))
=> t

Enables all tests in the setup of run Run.0:

maeEnableTests(?run "Run.0" ?all t)
=> t

Disables tests testA and testB in the setup of run Run.0:

;maeEnableTests(?run "Run.0" ?testNames '("testA" "testB") ?enable nil)
=> t

Related Topics

Modifying a Run in the Run Plan


Return to top
 ⠀
X