Close popover
Roshini Vijayakumar (roshiniv1832)
Cognizant Technology Solutions

Cognizant Technology Solutions
roshiniv1832 Member since 2016 8 posts
Cognizant Technology Solutions
Posted: July 30, 2019
Last activity: August 5, 2019

Unit test case

Hi Community members, I am new to unit testing in Pega. Can anyone give a work example of a unit test case along with sample assertion. Though I have gone through pdn content and below video, I am unable to find working example of unit testing.

To be more specific,

1.Can anyone explain why and how to use assertion for test case?

2.Do we write test case only for sucess scenario?

3.Should we also write test case for failure scenario?

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.