Declaring parameters

Component Testing for C

ELEMENT blocks contain specific instructions that describe the test start-up procedures and the post-execution tests.

The hash character (#) at the beginning of a line indicates a native language statement written in C.

This declaration is introduced after the SERVICE instruction because it is local to the SERVICE block; it is invalid outside this block.

It is only necessary to declare parameters of the procedure under test. Global variables are already present in the module under test or in any integrated modules, and do not need to be declared locally.

Related Topics

Testing variablesTesting intervalsTesting tolerancesInitializing without testingTesting expressionsTesting arraysTesting structured variables