Skip to main content


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

Validate test coverage

Updated on July 14, 2022

Validate test coverage of rules for an application to verify that they meet a specific threshold. Use this task with Enable test coverage, which enables the test coverage session.

When you execute this task, the test coverage session stops at the application level and generates test coverage metrics. Deployment Manager returns an error if the test coverage percentage does not meet the percentage you define in the input parameter, or if a test coverage session is inactive for this application.

This task is available in deployment and business change pipelines.

Note: The test coverage session includes the rules from all applications in Application quality settings.

Parameters

Input parameters

ParameterTypeDescriptionRequired
Application test coverage %
Decimal
Validates the minimum threshold of application test coverage for acceptance. Yes
Data type test coverage %
Decimal
Validates the minimum threshold of test coverage for each data type for acceptance. If coverage stats for a single data type do not meet the minimum threshold, the task fails.No
Case type test coverage %
Decimal
Validates the minimum threshold of test coverage for each case type for acceptance. If coverage stats for a single case type do not meet the minimum threshold, the task fails.No

Output parameters

No output parameters are available for this 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