PEGACSA72V1 Exam QuestionsBrowse all questions from this exam

PEGACSA72V1 Exam - Question 9


You have designed a decision tree that you want to unit test. You want to test various input values to ensure that you get the expected results. How would you unit test your decision tree?

Show Answer
Correct Answer: AD

To unit test a decision tree, you should integrate it within your application and create cases using various input values. This approach allows you to verify that the decision tree behaves as expected in real use cases and under different scenarios, ensuring accurate results. Simply running the decision tree on a test page does not provide thorough testing, as it fails to account for integration and interaction with other components of the application.

Discussion

1 comment
Sign in to comment
ClairFraserOption: D
Aug 9, 2020

Correct. See https://community.pega.com/sites/default/files/help_v55/rule-/rule-declare-/rule-declare-decisiontree/testing.htm