Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Cloud Manager deployment unit test coverage

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

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.

Avatar

Community Advisor

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.

Asutosh_Jena__0-1641446668640.png

 

More information here:

https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/how-to-use/configurin...

 

Thanks!

Avatar

Administrator

@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