+ Start a Discussion

can we deploy a test class with 0 percent coverage if overall coverage is 80 percent?

hai Jkk,
If you are moving the code from sandbox to production, you need to include all the test classes at the time of deployment and salesforce will run all the test classes which you included for the deployment as well as test classes which are already present in production, if the code coverage is less than 75%deployment will fail.
All test classes requires the required coverage to get successfull deployement.

Thank You
Ruchi Shrivastava 3Ruchi Shrivastava 3
hi jkk

yes!! u can deploy that class but with all the remaining class not alone.

thank u