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 variables | Testing intervals | Testing tolerances | Initializing without testing | Testing expressions | Testing arrays | Testing structured variables