Question
1
Replies
17
Views
Posted: September 30, 2020
Last activity: October 30, 2020
Containing Pega Unit Tests to the rule being testing
I'm running some Pega unit tests that are frequently slow or failing due to third party services that are intermittently down or delayed.
Is there a way to contain the effects of executing a unit test to the rule under test? Is there a way to avoid triggering all the referenced rules and services?
Any help is greatly appriciated.
***Edited by Moderator Marissa to change type from General to Product, update Platform Capability tags****
You could use simulation and mocking of data pages to mock out third party integrations. Refer to: https://community.pega.com/knowledgebase/articles/devops/85/simulating-data-pages-and-third-party-connections
This is available from 8.4 version of platform.
Regards,
Anil