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
mdavis.ax765mdavis.ax765 

Can Salesforce Support adjust the 75% code coverage requirement?

I need to migrate some change sets to production and only have 60% code coverage at the moment.

 

Has anyone worked with Salesforce to temporarily (or permanently) reduce or remove the 75% requirement?

 

Thanks,

Mike

osamanosaman

They can't remove it but if you have Premier Success Plan, they may help you with your code.

 

Thanks

 

Ankit AroraAnkit Arora

Test classes are just to ensure that the your working code will not break in any condition. More good you write your test class more you get the assurance. So for now there is no provision to deploy the code on production without the code coverage.

 

Perhaps we can help you in increasing the code coverage if you need any help.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

colemabcolemab

Since it is an average, you can pad your overall coverage by creating a long and repeattive dummy class (that really does nothing and isn't used) and test method to cheat your way above 75% if you really want.  Just an idea.