PegaUnit testing

Automated unit testing is a key stage of a continuous development and continuous integration model of application development. With continuous and thorough testing, issues are identified and fixed prior to releasing an application, thereby improving application quality.

For example, an account executive wants to ensure that a 10% discount is applied to all VIP customers. You create a test case that verifies that this discount is applied to all VIP customers in the database. If the test does not pass, the results indicate where the 10% discount is not applied.

Automated unit testing involves creating unit test cases for tests run against individual rules, grouping multiple test cases into test suites, running the tests, and viewing the results. running the tests. When the tests run, the results are compared to the expected results defined in assertions.