LinkedIn
Copied!

Running all test cases for decision tree and decision table rules

Summary

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.

Suggested Approach

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.

In V6.1, the Dashboard is a gadget on the Automated Unit Testing landing page. The Dashboard gadget displays the returned results.

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:
  1. From the Run Rule window, select the Run against a saved test case option.

zzz

  1. Choose All 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 Cases in step 2.

  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.
  3. Click Run.

Process Commander runs all selected test cases and displays the results in a pie chart.

zzz

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.

zzz

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.