You can automate testing of rules by creating test cases for automated unit testing. Automated unit testing validates application data by comparing expected output to the actual output that is returned by running rules.
To create test cases, you must have a rule set that can store test cases. For more information, see Creating a test ruleset to store test cases.
Automated unit testing information is available on the Testing Applications landing page on Pega Community and in the automated unit testing topics in the help.
- AUT test suite Create or Save as form
Unit Test Suites Completing the Create or Save As form
- AUT test cases
Create test cases for automated unit testing to validate application data by comparing expected output to the actual output that is returned by running rules.
- Creating unit test suites with AUT
Unit Test Suites identify a collection of Test Cases and their rulesets, and a user (Operator ID) whose credentials are used to run the Unit Test Suite. Unit Test Suites are used to automatically run groups of test cases together and make unit testing more efficient.