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.
- Creating unit test suites
To create a unit test suite, add test cases and test suites to the suite and then modify the order in which you want them to run. You can also modify the context in which to save the scenario test suite, such as the development branch or the ruleset.