background image
<< Integrated, Simulated and Additional Files | Test Script Structure >>
<< Integrated, Simulated and Additional Files | Test Script Structure >>

Component Testing Test Selection

Test RealTime - User Guide
You can toggle instrumentation of a source file by using the Properties Window
dialog box.
Component Testing Test Selection
The Test Selection dialog box allows you to configure the Component Testing test
driver.
To open the Test Selection dialog box:
1. In
the
Project Explorer, right-click a .ptu test script.
2.
From the pop-up menu, select Test Selection.
Service/Test Tab
Use this tab to select one or several SERVICEs or TESTs as defined in the .ptu test
script. During execution, the Component Testing node plays the selected SERVICEs
or TESTs.
Family Tab
Use this tab to select one or several families as defined in the .ptu test script. During
execution, the Component Testing node plays the selected families.
Initial and Expected Value Settings
The Initial and Expected Value settings are part of the Component Testing Settings
for Ada dialog box and describe how values assigned to each variable are displayed
in the Component Testing report. Component Testing allows three possible
evaluation strategy settings.
Variable Only
This evaluation strategy setting generates both the initial and expected values of each
variable evaluated by the program during execution.
This is possible only for variables whose expression of initial or expected value is not
reducible by the Test Compiler. For arrays and structures in which one of the
members is an array, this evaluation is not given for the initial values. For the
expected values, however, it is given only for
Failed
items.
Value Only
With this setting, the test report displays for each variable both the initial value and
the expected value defined in the test script.
Combined evaluation
The combined evaluation setting combines both settings. The test report thus
displays the initial value, the expected value defined in the test script, and the value
found during execution if that value differs from the expected value.
96