COMMENT

C++ Test Script Language

Syntax

COMMENT <one-line text>

COMMENT { <multiple-line text> }

Location

TEST CASE, PROC, STUB, CHECK STUB, PROLOGUE, EPILOGUE, ON ERROR, CHECK EXCEPTION

Description

The COMMENT instruction allows the output of static comments to a trace file. These comments can be visualized through the UML/SD Viewer in the GUI.

Example

TEST CASE tc1 {

#s.push (i);

       COMMENT An element was added to the stack.

CHECK (!s.full ());

}