Cloud Manager deployment unit test coverage | Community
Skip to main content
chetan001
January 5, 2022
Solved

Cloud Manager deployment unit test coverage

  • January 5, 2022
  • 3 replies
  • 2721 views

Hi All,

 

Adobe document is showing at least 50% unit test coverage is required for deployment pipeline.

 

Question: can we bypass unit test coverage in dev,stage,prod cloud manager pipeline ?

 

 

Thanks

Chetan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kishore_Kumar_

Hi @chetan001 ,

 

Code coverage threshold < 50% comes under Important category. People with these access (deployment manager, project manager, or business owner) can override this if required and pipeline can proceed forward.

 

PS: Though it might be possible to override, I prefer writing the unit tests with a coverage of 75-80% usually.

3 replies

Kishore_Kumar_
Kishore_Kumar_Accepted solution
January 6, 2022

Hi @chetan001 ,

 

Code coverage threshold < 50% comes under Important category. People with these access (deployment manager, project manager, or business owner) can override this if required and pipeline can proceed forward.

 

PS: Though it might be possible to override, I prefer writing the unit tests with a coverage of 75-80% usually.

chetan001
chetan001Author
January 6, 2022

Thanks @kishore_kumar_  for quick response, it is helpful

Asutosh_Jena_
Community Advisor
Community Advisor
January 6, 2022

Hi @chetan001 

 

Yes. You can bypass the unit test coverage by following the below steps in the deployment manager.

  1. Navigate to the Pipelines card from the Program Overview page.
  2. Select the pipeline that you want to edit.
  3. Under the Failure Behaviour select "Continue Immediately" and it will allow you to override the metrics.

 

More information here:

https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/how-to-use/configuring-pipeline.html?lang=en

 

Thanks!

chetan001
chetan001Author
January 6, 2022

Thanks @asutosh_jena_  very helpful.

kautuk_sahni
Community Manager
Community Manager
May 30, 2022

@chetan001 

[Webinar | AEM GEMs] Looking under the hood - Cloud Manager 2022 | Register: https://adobe.ly/3t4jfgp  & Ask Questions related to this Webinar: https://adobe.ly/3O0rdzd 

Date &Time: Wednesday, June 15, 2022 - 8 am PDT OR 5 pm CET OR 8.30 pm IST
Speakers: Remus Stratulat & Shankari Panchapakesan

Share this within your Organisation and with your AEM peers!!

Kautuk Sahni