Unit testing data model rules
Types of data model rules include data pages and data transforms.
- Unit testing a data page
Test a data page to ensure that you get the expected results by using the Run Rule feature before testing it in the context of the application that you are developing. Additionally, you can convert the test run into a Pega unit test case for reuse.
- Unit testing a section
After you create a section rule, you can run the rule to test it in the context of the application you are developing. Specify a test page for the rule to use, provide sample data as the input, run the rule, and examine the results.
- Viewing test cases for a data type
You can view, run, and add test cases for a data type in the Data Designer.