Skip to main content

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.

  1. In the header of Dev Studio, click Configure > Application > Quality > Test coverage.
  2. Click the User level tab.
  3. Click Start new session.
    Note: You cannot start a user-level coverage report if the Application level coverage is in progress message is displayed.
  4. Enter a title for the coverage report, and then click OK.
  5. 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 Yes.
  6. Click Stop coverage, and then click Yes.
    Note: If you close the tab or log out without stopping the coverage session, the report is not generated. 
  7. In the Coverage history section, click Show report, as shown in the following figure:
    Image depicts the Show report option on the latest record in the Coverage history section.

    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:

Note: The application quality dashboard does not reflect the data of the user-level test coverage report. 

Check your knowledge with the following interaction:


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice