Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Estimating test coverage

Updated on December 13, 2021

View historical test coverage metrics and generate reports containing the number of executable rules and their test coverage. Use the data to analyze changes in test coverage, and to verify which rules require testing.

On the Test Coverage landing page, view a chart displaying test coverage metrics and generate specific user-level, application-level, and merged coverage reports. User-level reports contain the results of a single test coverage session that a user performs, while application-level reports contain results from multiple test coverage sessions that many users run. Merged reports contain results from multiple most recent application-level reports.

The following rule types are included in test coverage reports.

  • Activity
  • Case type
  • Collection
  • Correspondence
  • Data page
  • Data transform
  • Decision data
  • Decision table
  • Decision tree
  • Declare expression
  • Declare trigger
  • Flow
  • Flow action
  • Harness
  • HTML
  • HTML fragment
  • Map value
  • Navigation
  • Paragraph
  • Report definition
  • Scorecard
  • Section
  • Strategy
  • Validate
  • When
  • XML Stream
Note: Ensure you have the appropriate access to generate reports by associating the pzStartOrStopMasterAppRuleCoverage privilege with your account. For more information, see Granting privileges to an access role.
  • Generating a user-level test coverage report

    Generate a user-level test coverage report to identify which executable rules in your currently included applications are covered and not covered by tests. The results of this type of report are not visible on the Application Quality Dashboard.

  • Generating an application-level test coverage report

    Generate an application-level coverage report that contains coverage results from multiple users. Use this report to identify which executable rules in your currently included applications are covered and not covered by tests. The results of this type of report are visible on the Application Quality Dashboard.

  • Participating in an application-level test coverage session

    When an application-level coverage session is running, you can perform tests of the application to contribute to an application-level test coverage report that identifies the executable rules in your application that are covered and not covered by tests.

  • Generating a merged coverage report

    Generate application-level coverage reports for every application in your system and in your application stack, and then merge the most recent reports to a single report, to gain a consolidated overview of test coverage for all your top-level or built-on applications.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us