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.
Check guardrail score task
Validate test coverage task
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.
Verify security checklist task
For more information, see Using Deployment Manager 4.1.x.