
Pegasystems’ Automated Unit Testing allows developers to create and run test cases for flows and decision rules. Using Automated Unit Testing, developers speed and simplify their test protocols.
This solution adds functions to flows and decision rules, allowing developers to attach test cases to these rules. Test cases include input values and expected results and are preserved with the rules for future use. Decision rules can also auto-generate test cases.
Test cases can be run manually, batched from the dashboard, or run from the Test Management Framework. Results, including summary views, can be examined and saved as parts of the test suites. Results can be compared with past runs and specific differences can be ignored with reasons documented.
In addition, new data for inputs and expected results can be added and (since test details are versioned along with the rules) the changes become part of the permanent record for a rule. Finally, flows can be instrumented with flow markers, input fields, and property value differences to allow easier manual testing.