You need to sign in to do that
Don't have an account?
SFDC Tech
Issue with deployment
Hi,
I am actually trying to deploy few custom fields from sandbox to production using an existing deployment connection.
But when I deploy i am getting the following error message.
"Your organization's code coverage is 0%. You need at least 75% coverage to complete this deployment. Also, the following triggers have 0% code coverage. Each trigger must have at least 1% code coverage."
What is the reason for this?
should we rewrite/update the test class for the existing triggers?
I am actually trying to deploy few custom fields from sandbox to production using an existing deployment connection.
But when I deploy i am getting the following error message.
"Your organization's code coverage is 0%. You need at least 75% coverage to complete this deployment. Also, the following triggers have 0% code coverage. Each trigger must have at least 1% code coverage."
What is the reason for this?
should we rewrite/update the test class for the existing triggers?
https://developer.salesforce.com/forums/?id=906F0000000AmTKIA0
>> Other way, go to developer console in production, open the trigger which is blocking in deployment(if already exist in prod) and check which test class covering and include that test class in your deployment validation.
If above both didn't work, turn off validation rules for that trigger related object and deploy and turn validation rules on again.
(Simple but not suggestible)