You need to sign in to do that
Don't have an account?

Deployment - code coverage Issue
Hello Everyone,
I have a question about Code Coverage, I am trying to deploy some changes i have made in one of thr Trigger and Class but i am getting this error.
Details: Average test coverage across all Apex Classes and Triggers is 72%, at least 75% test coverage is required.
My Sandbox has code coverage of 79% but when it comes to deploy - it says 72% as above (am i doing something wrong)
please help.
Regards,
I have a question about Code Coverage, I am trying to deploy some changes i have made in one of thr Trigger and Class but i am getting this error.
Details: Average test coverage across all Apex Classes and Triggers is 72%, at least 75% test coverage is required.
My Sandbox has code coverage of 79% but when it comes to deploy - it says 72% as above (am i doing something wrong)
please help.
Regards,
Overall code coverage of Production Classes should also be 75% and above.So you need increse your Trigger Coverage as well as increse the production classes coverage also
you mean individual classes should have 75% coverage - even 79% overall is of no use if any of the class is 75%.. correct?