function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hareesh Damodar 6Hareesh Damodar 6 

Deployment failure due code coverage of couple of classes

Hi Guys,

My org has overall code coverage 81% and all trigger have more than minmum 1% coverage, when I try to deploy the components, it got failed  due to few classes has less than 75% coverage, does salesforce enforced new rules to have each and every apex class and trigger have minimum 75% coverage?
Error Details


Appreciate your response.

Thanks,
Hareesh
UC InnovationUC Innovation
According to the below document, the code coverage requirements haven't changed:

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_code_coverage_best_pract.htm

Perhaps the updates that you are deploying to production resulted in a lower code coverage in production?