# execute

The keyword is used to execute a test case.

- As the result of the execution of a test case, a test case verdict of either none, pass, inconc, fail or error is returned
- Optionally, the execution time may be supervised. If the test case does not end within this duration, the result of the test case execution will be an error verdict.

Related keywords:

- testcase
- verdicttype

### execute( test_case_identifier [,timer_value ] );

- test_case_identifier is the name used to refer to the test case to be executed. It is suggested that the name begin with tc_

- timer value is the optional floating point value stating the execution time limit in seconds.

Example 1:

execute(tc_TestCaseName());

The test case called tc_TestCaseName is executed. The test case has no parameters. Execution time supervision is not started.

Example 2:

vl_doom := execute(tc_SecondTestCaseName(), 5E-3);

The test case called tc_SecondTestCaseName is executed. The result (verdict) is stored in the variable vl_doom . Execution time limit is set to 5 milliseconds.

BNF definition of execute