What Test Level is applied and where when working with Copado?

The Test Level in the Deployment Flow Step is only applied when recalculating the deployment flow in the Manage Branches page.

User-added image
 

The Promotion Test Level in the User Story is applied when using the Promote & Deploy checkbox. The deployment step for that user story will be created with that value.

User-added image

The Test Level in the Create Deployment popup from a Promotion is applied to the deployment record created from there.

User-added image

If a Deployment is created manually or you just need to modify the Test Level applied from the options above, you can do it from the Test Level field directly in the Deployment Step.

User-added image

Please consider the following when deploying to production with Test Level: No Test Run.

Running Tests in a Deployment

"When no test level is specified in the deployment options, the default test execution behavior depends on the contents of your deployment package. When deploying to production, all tests, except those that originate from managed packages, are executed if your deployment package contains Apex classes or triggers. If your package doesn’t contain Apex components, no tests are run by default."


How did we do?