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

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