Improvements to scenario testing for increased efficiency
Valid from Pega Version 8.5
Several enhancements have been made to scenario tests for increased test efficiency. See below for a list of these improvements.
- Scenario testing now supports multiple actions per run, and all events that are configured as part of a scenario test are now triggered sequentially. Previously, only the first event was triggered, and the system ignored the rest.
- If a scenario test encounters a JavaScript error at any point during the run, the system immediately stops the tests. Refer to the logs for a detailed description of the error.
- Actions can now be configured and recorded on custom components in the scenario testing tool.
For more information, see Creating UI-based tests with scenario testing.
Extend PegaUnit setup and cleanup capabilities using custom fixtures
Valid from Pega Version 8.6
The set up and clean up capabilities in the PegaUnit framework are now customizable through the use of custom fixtures. Custom fixtures extend the default testing functionality and allow you to define and implement specific runtime actions, such as running a specific test case during set up or sending an email after testing has completed execution.
For more information, see Setting up and cleaning the context for a test case or test suite.