Running test cases and viewing the results
When you run test cases, the syntax of the selected rules is checked.
Note: To skip a written test case, select the test case, open the Test Properties tab on the Run tab, and set the IgnoreTest property to True.
- Open the Rule Test Cases dialog box.
- Write one or more test cases.
- Select the Run tab.
The rule that is selected in the Design tab and its test cases are selected. Optionally, to expand or collapse the tree, right-click the tree, and select Expand All or Collapse All.
- In the tree to the left, select test cases to run. Selecting a rule also selects its test cases.
Note: To select or deselect all rules and test cases, right-click the tree and select Check All or Uncheck All.
- Click Execute Tests.
The test cases run.
- The progress indicator is green if all test cases are valid, red if one or more test cases are not valid, or yellow if one or more test cases have warnings.
- Red circles (for invalid test cases), green circles (for valid test cases), or yellow triangles (for test cases with warnings) appear next to the name of the test case in the grid.
- In the Validation column, either valid, invalid, or incomplete (for rules or global conditions that have valid syntax but are not complete; for example, if the rule has no action defined) appears.
Related errors and warnings appear in the Execution Results section at the bottom.
Copyright © 2013 Oracle and/or its affiliates. All rights reserved. |