Testing

test instruction

Description

The test instruction is used in a script test script to launch a test case. This is done by executing the tested script with specified input argument values.

After execution of the test instruction, the verify or verify error instruction is typically used to verify the results returned by the tested script.

Syntax

Table 8.28. test syntax

ProductionSyntaxLinks
test_instruction "test" input_assignment * the section called “test instruction”
input_assignment ( input_argument_id "=" ) ? expression

remark: input_argument_id = can only be omitted if the called script has exactly one input argument