Skip to main content

 –

Validate test coverage

Suggest edit Updated on December 13, 2021

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

When executing 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 not in progress 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

There are no output parameters available for this task.
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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