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
SimrinSimrin 

test coverage fails in production

Hello,

When i run test cases in Sandbox, code coverage is 94 % but when i try to run in production the same code fails.

I am not posting code for the moment.  What can be general errors or should i post my code to better understand
Best Answer chosen by Simrin
PratikPratik (Salesforce Developers) 
Hi Simrin,

Please go through the steps mentioned in below article:
https://help.salesforce.com/apex/HTViewSolution?urlname=Code-coverage-steps-and-considerations-prior-to-deployments&language=en_US

Thanks,
Pratik

All Answers

PratikPratik (Salesforce Developers) 
Hi Simrin,

Please go through the steps mentioned in below article:
https://help.salesforce.com/apex/HTViewSolution?urlname=Code-coverage-steps-and-considerations-prior-to-deployments&language=en_US

Thanks,
Pratik
This was selected as the best answer
PratikPratik (Salesforce Developers) 
Glad it helped!

Thanks,
Pratik