You can view information about your branch, such as the rules that it contains and whether branches have been reviewed. You can also view quality metrics, such as guardrail warnings.
Click App > Branches.
Click a branch and click the Content tab to view the rules that the branch contains. You can also see if a branch has been reviewed and can open a review on the branch.
Click the Branch quality tab to view guardrails, merge conflicts, and information about the PegaUnit tests that are configured on the rules in the branch.
The Unit test coverage section displays the following information about the PegaUnit test cases in the branch:
Total number of test cases: The number of PegaUnit test cases in the branch.
Rules supporting unit tests: The number of rules in the branch for which PegaUnit tests are supported.
PegaUnit tests are supported on certain rule types, such as activities and data transforms, but not on other rule types, such as sections. If you have two activities, two decision tables, and three sections in your branch, this value is 4
.
Test coverage: The percentage of rules in the branch for which PegaUnit tests are created, out of the number of supported rules.
If you have two activities, two decision tables, and three sections in your branch, there are four rules for which you can create PegaUnit tests. However, if you created PegaUnit tests for only one activity, test coverage is 25%, because one PegaUnit test case out of the four could be created.