Chapter 11 The Reactis Test-Suite BrowserThe Test-Suite Browser allows you to view test suites.
Figure 11.1 contains an annotated screen shot of the
Test-Suite Browser, which displays the test selected in the menu
(window item 12). The body of the
window consists three tabs:
-
Test Data
- Displays a matrix whose first column lists the input and
output ports of the model and whose subsequent columns each represent
a simulation step. Within each of these latter columns there is a
value for each inport and outport.
- Test History
- Displays history information logged by Reactis
for the currently selected test.
- Suite History
- Displays history information logged by Reactis
for the test suite.
| Figure 11.1: The Reactis Tester test-suite browser. |
11.1 Labeled Window Items-
Display a file-selection dialog to specify an .rst file for loading
into the browser.
- Open a distribution scope to
display the distribution of values the selected port assumes in
the test suite, as shown in Figure 11.2.
Alternatively, it is possible to view the values assumed during
a single test or group of tests, rather than during the entire
test suite. This may be done by right-clicking on the selected
port or by using the relevant items in the View menu;
see Section 11.2 for details.
- If either of the Test History or Suite History
tabs are selected, copy any the selected log information to the
clipboard.
- Go back 10 steps in the current test.
- Go back 5 steps in the current test.
- Go back 1 step in the current test.
- Specify a step in the current test to view.
- Go forward 1 step in the current test.
- Go forward 5 steps in the current test.
- Go forward 10 steps in the current test.
- Display Reactis Test-Suite Browser help.
-
This pull-down menu enables you to select a test from
the currently loaded test suite to view in the browser.
- This column lists the inports and
outports of the model.
- Values of inports and outports in step 1 of the current test.
- Values of inports and outports in step 2 of the current test.
- This column lists the configuration
variables.
- This column lists the values of the configuration
variables in the current test.
-
File menu.
- The File menu contains the following entries.
-
Open...
- Launches a file-selection dialog for choosing a new
.rst file to browse.
- Close.
- Close the current .rst file.
- Exit.
- Exit the Test-Suite Browser.
- Edit menu.
- The Edit menu contains the following entries.
-
Copy.
- If either of the Test History or Suite History
tabs are selected, copy any the selected log information to the
clipboard.
- Select All.
- Select all log information in the currently
displayed tab.
- View menu.
- The View menu contains the following entries.
-
10 Steps Back.
- Go back 10 steps in the current test.
- 5 Steps Back.
- Go back 5 steps in the current test.
- 1 Step Back.
- Go back 1 step in the current test.
- Go to Step...
- Specify a step in the current test to view.
- 1 Step Forward.
- Go forward 1 step in the current test.
- 5 Steps Forward.
- Go forward 5 steps in the current test.
- 10 Steps Forward.
- Go forward 10 steps in the current test.
- Significant Digits (Current Port)...
- Specify how many
significant digits should be used when displaying the values
flowing over the currently selected port.
- Significant Digits (All Ports)...
-
Specify how many significant digits should be used when displaying
the values flowing over all ports in the model.
- Visible Steps...
- Set the number of test steps to be shown in the
main panel of the browser window.
- Open Distribution Scope (Whole Suite).
- For the currently selected port,
open a distribution scope to display (as shown in Figure 11.2)
the values the port assumes when executing the test suite.
| Figure 11.2: The values assumed by port “drag”. You may zoom
in by clicking in the body of the dialog. Clicking the button in the tool bar
zooms to fit. |
- Open Distribution Scope (Current Test).
- For the currently selected
port, open a distribution scope to display the values the port assumes
when executing the currently selected test.
- Open Distribution Scope (Selected Tests)...
-
Open a dialog to select a subset of tests from the current test suite;
then, for the currently selected port, open a distribution scope to
display the values the port assumes when executing the tests in the
selected subset.
The dialog for selecting a subset of tests works as follows.
Holding down the control key and clicking on different tests
enables you to select a group of tests. For example test 1,
test 3, and test 5 may be selected by holding down the control key
and clicking on each of those three tests. Alternatively, holding
down the shift key and clicking on two different tests will add
the two tests along with all tests between them to the group.
This approach may be used to select tests 1-4 by holding down the
shift key and clicking on test 1 and then test 4.
- Help menu.
- The Help menu contains the following entries.
-
Contents.
- Go to the table of contents in the on-line
documentation.
- Index.
- Go to the index in the on-line documentation.
- Test-Suite Browser.
- Display Test-Suite Browser help.
|