Open System Testing Architecture

TOC PREV NEXT INDEX



END TEST-CASE Command

Description:

The END TEST-CASE command terminates a section of the script that starts with a START TEST-CASE command, to create an individual test case.

If the END TEST-CASE command is reached during execution of the script, the test case is considered to have succeeded, and the message specified in the test definition is sent to the report log.

Test cases cannot be nested. However, there is no restriction on calling another script that contains test cases, from within a test case section.

Format:
 END TEST-CASE
Parameters:

None

Example:
 START TEST-CASE "Checking distribution rate"
     IF (dist_rate < minimum) THEN
         FAIL TEST-CASE
     ENDIF
 END TEST-CASE

See also:

Formal Test Control Commands


OpenSTA.org
Mailing Lists
Further enquiries
Documentation feedback
CYRANO.com
TOC PREV NEXT INDEX