You need to sign in to do that
Don't have an account?

Test Methods coverage
Hi,
I have a question regarding the Test coverage in Salesforce.
If i run a test class individually the code coverage of the class and its related Triggers is different for the code coverage that i do by clicking on the "run all test" button in Salesforce.
Can anyone tell me what percentage should i actually consider???
Thanks in advance.
Hi,
You should consider the overall test coverage as minimum 75%, so you get over all test coverage by clicking 'Run all test' button. Its for packaging consideration. and you should cover over all classes and triggers which is related your packing app.
can we calculate testmethod coverage through programmatically?
yes , it is possible by API using Apex WSDL.