The Run Rule feature enables you to test a harness individually before testing it in
the context of the application you are developing. You specify a test page for the rule to use,
provide sample data as the input, run the rule, and examine the results.
Determine how you will provide the sample data to use when testing the rule. If
possible, open a work item of the appropriate class.
For general information about the Run
Rule feature, including a list of the clipboard pages that are generated when a rule runs,
see
How to test a rule with the Run Rule feature.
-
Save the rule.
- Optional:
To review and update your
preferences, select
Preferences
from the Operator
menu.
These determine the skin rule used to style the test.
-
Complete any preprocessing necessary to create the appropriate clipboard context and,
if the rule is circumstanced or time-qualified, to set the conditions you want to
test.
-
Click the
Run
toolbar button. The Run Rule window appears.
-
In the Test Page section, specify which page to use as the main page by performing one
of the following actions:
-
If the rule being tested is circumstance-qualified, select
Set circumstance
properties
to run exact version of rule.
-
In the lower section of the Run Rule window, enter the test data and click
Execute.
The system runs the harness and displays the results.