What is the required amount of test code coverage when deploying an Apex class?

What is the required amount of test code coverage when deploying an Apex class?
A . 0.55
B . 0.75
C . 0.65
D . 0.85

Answer: B

Explanation:

The required amount of test code coverage when deploying an Apex class is 75%. This means that at least 75% of the Apex code must be covered by unit tests, and all of those tests must complete successfully.

Reference: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_deploying_ant_deploy.htm

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments