You need to sign in to do that
Don't have an account?
RaviKumar
Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production?
Q)Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production?
A)Some one giving answer that, Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class.
I have found the above question & Answer in one Blog.My doubt is
------>
Is this answer Correct? If yes, In SFDC Documentation they provided that : "
1.At least 75% of your Apex code must be covered by unit tests, and all of those tests must complete successfully.
2.All classes and triggers must compile successfully.
"
What's exactly does it mean...............................................................?
Will Any One Suggest that could take me out with clarity in this issue..
Thanks in Advance..
A)Some one giving answer that, Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class.
I have found the above question & Answer in one Blog.My doubt is
------>
Is this answer Correct? If yes, In SFDC Documentation they provided that : "
1.At least 75% of your Apex code must be covered by unit tests, and all of those tests must complete successfully.
2.All classes and triggers must compile successfully.
"
What's exactly does it mean...............................................................?
Will Any One Suggest that could take me out with clarity in this issue..
Thanks in Advance..
when deploying code to production, you will not able to deploy it if it has any compilation issue.
All Answers
when deploying code to production, you will not able to deploy it if it has any compilation issue.
@BalajiRanganathan "It means that A class may have 0%, a class may have 40% and another has 80%. What finally satisfied is when we deploy all classes together should have 75% code coverrage.
Individual may have 75% or 0% or 55% it doesn't matter
.
No need of that each and every class should have 75% code coverage"
Am i reaching your point Mr.BalajiRanganathan.
Thanks Once agiain.