Certified Pega System Architect v7.2 — Question 12

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because running the decision tree with various input values directly tests its functionality and ensures the expected outcomes. Options B and C focus on reviewing the structure of the decision tree rather than executing it, which does not validate its operational correctness. Option D, while useful for integration testing, does not specifically address unit testing of the decision tree itself.