roshiniv1832 Member since 2016 8 posts
Cognizant Technology Solutions
Posted: 1 year ago
Last activity: 1 year 2 months ago

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?

Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn