You need to sign in to do that
Don't have an account?
Rockzz
Every one class maintain test code coverage is 75%..
Every one class maintained test code coverage is 75%..totally for all classes how much maintain test code coverage in org..can any one tell me please
Thanks,
Munna
Hi,
There is no hard and fast rule that every class should get above 75% test coverage. But it is a good practise to maintain atleast 75% test coverage for each class. If you are deploying all class then there will be no problem with the test coverage as the whole organization has atleast 75% test coverage. when you are trying to deploy a individual class if that class doenot has the 75% test coverage then it will be problem for deployment.
Please go throught the below URL for more details.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_best_practices.htm
Regards,
Sridhar Bonagiri
All Answers
You should always have 75% for the entire org. Individual test coverage per class is irrelevant, technically speaking, but if all your classes exceed 75%, your entire org should also pass.
Hi,
There is no hard and fast rule that every class should get above 75% test coverage. But it is a good practise to maintain atleast 75% test coverage for each class. If you are deploying all class then there will be no problem with the test coverage as the whole organization has atleast 75% test coverage. when you are trying to deploy a individual class if that class doenot has the 75% test coverage then it will be problem for deployment.
Please go throught the below URL for more details.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_best_practices.htm
Regards,
Sridhar Bonagiri
Salesforce ensure 75% code coverage requirement during two operations:
1. Uploading a Managed/Unmanged package
thanku sridhar...
Thanks,
Munna