You need to sign in to do that
Don't have an account?
Linda 98
URGENT-Unable to deploy to production even though code coverage is 92%
Hi.
I am trying to deploy a trigger and test class to prodcution with code coverage of 100% .
My production coverage is 92% But when i validate my change set it says code coverage error-71% ..need 75%.
All my classes and triggers are almost 89-90% .
I just refreshed sandbox too to make sure both are in same settings.Stil same error.
Please help..I need this to solve ASAP!!! please.
I am trying to deploy a trigger and test class to prodcution with code coverage of 100% .
My production coverage is 92% But when i validate my change set it says code coverage error-71% ..need 75%.
All my classes and triggers are almost 89-90% .
I just refreshed sandbox too to make sure both are in same settings.Stil same error.
Please help..I need this to solve ASAP!!! please.
Thank you for the suggestion.
This may due to ( seealldata = true ) used in your testclass.But for me,I have UtilClass in my org,What i did to rectify the error was,I have deleted the util class and recreated as same as before.And it works for me... Try this!