Posted: 26 Aug 2020 9:57 EDT Last activity: 28 Aug 2020 5:56 EDT
Creation of Test Case for Sub Strategy with External Input
Can someone please share the process of creating test cases for Sub-Strategies which has External Input? To be more precise need to understand what additional configuration needs to be done in the "Test Case" rule under "Setup and Cleanup" tab.
As part of the trial and error method, Execution of test cases for strategies without External Input works fine but as part of Marketing application development, many additional sub-strategies needs to be created in which External input will the source. And not getting any suitable articles or steps to configure the test cases in this scenario.
At Present the current Application setup is as below:
Pega Platform: Pega 8.4.1
Pega Marketing FW: v 8
***Edited by Moderator Marissa to change type from Pega Academy to Product, update Product details and Platform Capability tags****
Unfortunately, Pega Unit test cases for strategies do not support substrategies with External Input shape yet OOTB. One workaround is to wrap such a strategy in another parent strategy and write test cases for the parent.