Ford Motor Company
Last activity: 12 Oct 2018 8:12 EDT
Unit Testing Strategies
I am currently looking into unit testing in Pega. Specifically unit testing strategies within Pega. I have been successful with testing some strategies, but have reached a impasse with others. Our strategies are organized in a way that we have a main strategy. This main strategy contains many sub strategies and sub strategies contain strategies themselves. I am having no problem unit testing the initial strategy to which all of the sub strategies stem from. The problem lies for me when I have a sub strategy embedded within another strategy. I am seem to be unable to unit test this sub strategy.
For example lets say I have a strategy named X. In X is a sub-strategy named Y. My problem isn't with testing X it is with testing Y. When I go to where my automated test are listed and run this from the dashboard, my Automated test for Y breaks, but not for X. Yet when I run this unit test individually it works fine. Does anyone know why this might be?