When Automated Unit Testing is enabled, for a particular decision table or decision tree rule, you can run multiple saved test cases at once from the Run Rule window.
In this situation, the system behaves as if a unit test suite is created using the rule's saved test cases, and then that unit test suite runs. The returned results display on the Dashboard tab of the Test Manager.
The option of running multiple test cases at once from the Run Rule window is not available for flow rules.
To run multiple test cases at once:
- From the Run Rule window, select the Run against a saved test case option.
Casesfrom the drop down list.
If auto-generated test cases exist for a decision table rule, you can run all or a subset of the auto-generated test cases at once by selecting
All Autogenerated Casesin step 2.
- In the window that opens, all of the test cases are selected to run. You can leave them all selected to run them all, or choose a subset.
- Click Run.
Process Commander runs all selected test cases and displays the results in a pie chart.
To examine the returned results:
- To review the test cases that returned unexpected results, click the red section of the pie chart. A window opens with a table listing those test cases. Select a test case to view its detailed results.
- To review the test cases that returned expected results, click the green section of the pie chart. A window opens with a table listing those test cases. Select a test case to view its detailed results.