Skip to main content


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

Understanding Pega Platform 7.2.2 and later behavior when switching between Pega unit testing and Automated Unit Testing features

Updated on December 13, 2021

Beginning with Pega 7.2.2, you can use Pega unit testing to create test cases to validate the quality of your application by comparing the expected test output with results that are returned by running rules. In previous versions, you used Automated Unit Testing (AUT) to create test cases.

If you have the AutomatedTesting privilege, you can use Automated Unit Testing (AUT) and switch between Pega unit testing and AUT, for example, if you want to view test cases that you created in AUT. The following list describes the application behavior when you use Pega unit testing and AUT:

  • When you unit test activities that are supported by both Pega unit testing and AUT, the Run Rule dialog box displays updated options for creating unit tests for Pega unit testing. However, you cannot create unit test cases for AUT by using this dialog box.
  • When you use Pega unit testing, you can create, run, and view the results of Pega unit testing on the Test Cases tab for the supported rule types.
  • You can view, run, and view the results of Pega unit test cases by clicking Dev StudioAutomated TestingTest Cases. You can also switch to the AUT landing page by clicking Switch to old version.
  • When you switch to the AUT landing page, you can create, run, and view the results of unit test cases for AUT on the Test Cases tab for activities, data transforms, and data tables, which are supported by both Pega unit testing and AUT. You can create unit test cases only by clicking the Record test case button and using the older Run Rule dialog box.
  • In the Automated Unit Testing landing page, you can restore the Automated Rule Testing landing page by clicking Switch to new version. When you click the Test cases tab in an activity, decision table, or decision tree, the tab displays options for creating Pega unit test cases.
  • If you use the Automated Unit Testing landing page, and then log out of the system, Dev Studio displays the Dev StudioApplicationAutomated Unit Testing > menu option instead of the Dev StudioApplicationAutomated Testing > option. To return to the Automated Unit Testing landing page, click Switch to new version on the Automated Unit Testing landing page.

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