Perform more comprehensive regression testing and verify application quality by unit testing more rule types and configuring activity status assertions. By unit testing more rule types and configuring activity status assertions, developers can more easily make sure the application meets requirements and functions as expected when they make changes.
Unit test more rule types
Unit test collection, declare expression, map value, and report definition rules and then convert the test runs into test cases. As with all automated unit tests for other rule types, Pega Platform™ compares test results to the expected results defined for the rule’s assertions (test conditions). If the test results do not meet the defined assertions, then the test fails.
Configure activity status assertions
Verify that an activity behaves as expected when it runs by configuring an activity status assertion that defines the status required for the activity to pass the test.
For more information about unit test cases, see Pega unit test cases.
For more information about configuring activity status assertions, see Configuring activity assertions.