Links may not function; however, this content may be relevant to outdated versions of the product.
Understanding Pega Platform 7.2.2 and later behavior when switching between Pega unit testing and Automated Unit Testing features
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 addition, 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 . 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 Switch to new version on the Automated Unit Testing landing page. > menu option instead of the > option. To return to the Automated Unit Testing landing page, click
Previous topic Test failures Next topic Working with the deprecated AUT tool