Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Running all test cases for decision tree and decision table rules

Updated on September 10, 2021

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 Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us