Download Conformiq User Manual - Verifysoft Technology GmbH

Transcript
Testing with Conformiq
135
standard port extensions.
How to Use TCL Scripting Backend
The TCL script backend generates test scripts in TCL, enabling employment of model
driven testing in a TCL environment. With the TCL script back-end, TCL test cases can be
derived automatically from a functional design model and be executed against a real system.
The TCL script backend is configured using the following configuration options:
Main / Generated TCL file
Selects the output file. The output file name should have the format
<DIRECTORY>/<SCRIPT>.tcl, for example /tmp/out.tcl or C:\out.tcl.
Test case template / Template TCL file
The location of the test case template used. This file contains extra code that can
be inserted before and after Conformiq generated test cases, such as initialization
and de-initialization of a test harness.
Test case template / Generate stub template
Generate a stub test case template file if one does not exist.
Test harness / Test harness TCL file
The location of the TCL test harness file, i.e., the library file which contains the
implementation of the routines that the scripting backend generates.
Test harness / Test harness include method (source|embed)
Source / embed the generated test harness to the script.
Test harness / Generate stub library
Generate a stub library file if one does not exist that contains the default
implementation of the routines that the scripting backend generates.