Question
1
Replies
17
Views
PEGA
Posted: November 10, 2020
Last activity: November 10, 2020
How to mock a WHEN rule in a pegaUnit test case
I have a when rule A calls another when rule B.
I wanted to create PegaUnit test case for when rule A.
How can I mockup when rule B, so that my test cases for when rule A won't be affected by the actual execution result of when rule B?
***Edited by Moderator: Pooja to update platform capability tag***
Currently pegaunit support mocking for Datapages and Connector rules.
When rule mocking is not supported yet.