Generating user-level test coverage reports
Obtain the test coverage information for rules that you created by generating and reviewing a user-level test coverage report for your Pega Platform applications.
For example, if you develop 10 new rules and the test coverage report shows that your testing did not cover four out of 10 rules, you can add additional test cases to cover the uncovered rules.
The user-level test coverage report is generated by a single user in a single session. Perform the following steps to generate a user-level test coverage report.
- In the header of Dev Studio, click Configure > Application > Quality > Test coverage.
- Click the User level tab.
- Click Start new session.
Note: You cannot start a user-level coverage report if the Application level coverage is in progress message is displayed.
- Enter a title for the coverage report, and then click OK.
- Run all the necessary tests required for testing, for example, Pega unit tests or manual tests.
Note: If you trigger the coverage session by mistake and want to restart the session, click Cancel coverage, and then, click .
- Click Stop coverage, and then click .
Note: If you close the tab or log out without stopping the coverage session, the report is not generated.
- In the Coverage history section, click Show report, as shown in the following figure:
The latest record to access the coverage report data is displayed.
Check your knowledge with the following interaction:
In the following image, click the + icons to learn more about the various components of a user-level test coverage report:
Check your knowledge with the following interaction:
This Topic is available in the following Module:
Want to help us improve this content?