Skip to main content


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

Starting test coverage by adding the Enable test coverage task

Updated on February 4, 2021

Add the Enable test coverage task to start test coverage. Starting and stopping test coverage generates a report that identifies the executable rules in your application that are either covered or not covered by tests. As a best practice, to ensure application quality, you should test all the rules in your application for which testing is supported.

For more information about application-level coverage reports, see Generating an application-level test coverage report.

When you use separate product rules for test cases and run a pipeline, the Enable test coverage task is run for the access group that is specified in the Application test cases section, which you configure when you add or modify a pipeline.

To add this task, complete the following steps:
  1. Do one of the following actions:
    • Click a task, click the More icon, and then click either Add task above or Add task below.
    • Click Add task in the stage.
  2. In the Task list, click Enable test coverage.
  3. Select the Start a new session check box to start a test coverage session every time that the pipeline runs the deployment. If you do not select this check box, if a test coverage session is already running, the pipeline pauses and returns an error.
  4. Click Submit.
  5. Continue configuring your pipeline. For more information, see one of the following topics:
  • Previous topic Ensuring that the Application Security Checklist is completed by adding the Verify security checklist task
  • Next topic Stopping test coverage by adding the Validate test coverage task

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