Closed
Verify Output Parameter Values in a Unit Test
For an activity that returns values via a output parameters - is there a way to write a Pega Unit test that can verify/assert on the returned values?
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
For an activity that returns values via a output parameters - is there a way to write a Pega Unit test that can verify/assert on the returned values?
Hi,
Please check below links. These may be helpful for you.
https://collaborate.pega.com/question/unit-testing-flows-and-activities
https://community.pega.com/knowledgebase/articles/pegaunit-testing
These articles don't address how to do assertions against output parameters.
Did you solve the issue?
I'm facing the same problem with DT unit testing
Properties on parameter page can be asserted. On "Property" type assertion card click on add properties to open the property addition view. After this click on "Add row" on the assertion card to manually add property assertion row instead of selecting a property from side panel. Specify the parameter to be asserted on the left and use appropriate comparator and value for asserting. Ex: Param.SomeOutputParameter equals SomeOutputValue.
Worked for me. Thanks!
Question
Question Solved
Question
Question
Question
Discussion
Question Solved
Question Solved
Question
Question Solved
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.