Skip to main content


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

Deploy with confidence by enforcing quality metrics

Updated on May 3, 2021

Deployment Manager 4.1.1 includes built-in support for running tests and enforcing quality metrics such as test coverage that you can use to validate every update that is made to your application.

These new tasks allow you to model a DevOps pipeline for your Pega application to ensure that changes that your developers make to the application run through all the necessary regression tests and pass your quality criteria, such as guardrail compliance score and test coverage percentage. If any of the quality criteria are not met, the pipeline will fail. You can work with the developers to improve guardrail compliance, test coverage, failing regression tests, or other issues that need to be addressed before deploying to higher environments. These tasks ensure that only high quality and verified application changes are migrated into critical production environments.

The following tasks are provided in Deployment Manager to enforce quality metrics:

  • Check guardrail compliance
  • Enable test coverage and validate test coverage
  • Run Pega unit tests
  • Run Pega scenario tests
  • Verify security checklist

Use the check guardrail compliance task to verify that your application’s guardrail score meets the threshold that is set for this application. The default value is set to the recommended score of 90.

Thumbnail

Check guardrail score task

Use the Enable test coverage task to start test coverage, and then collect the coverage metrics for all the tasks that run before the Validate test coverage task. The default value is set to 70% coverage.
 
 
Thumbnail

Validate test coverage task

Use the Run Pega unit tests task to run your Pega unit tests in the pipeline. All the Pega unit tests must pass for this quality gate to pass.
Thumbnail
 
Run Pega unit tests task
 
Use the Run Pega scenario tests task to run your scenario tests in the pipeline. You can run these scenario tests by using test service providers such as CrossBrowserTesting, Sauce Labs, Browser Stack, or your own stand-alone Selenium Grid service. All the scenario tests must pass for this quality gate to pass.
 
Thumbnail

Run Pega scenario tests task

Use the Verify security checklist task to ensure that your pipeline complies with security best practices. This task is automatically added to the stage before production when you create a pipeline.

Thumbnail

Verify security checklist task

For more information, see Using Deployment Manager 4.1.x.

  • Previous topic Easily configure Deployment Manager pipelines with a simplified setup process
  • Next topic Manage aged application updates in Deployment Manager

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