Exam PEGACSA72V1 All QuestionsBrowse all questions from this 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?

    Correct Answer: D

    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
ClairFraserOption: D

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