Question

3
Replies
1489
Views
Close popover
Andrew Clark (AndrewC9188)
Ford Motor Company

Ford Motor Company
US
AndrewC9188 Member since 2018 1 post
Ford Motor Company
Posted: October 3, 2018
Last activity: October 12, 2018
Closed

Unit Testing Strategies

Hello,

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?

DevOps Testing Applications
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.