You need to sign in to do that
Don't have an account?
sunny.sfdc
Tooling API vs test coverages
Hi
I am writing a code which runs test classes and evaluate test coverage using tooling api. There are around 800 odd classes which when test classes are run splits into 4 bacthes of 200 each.
I want total test coverage of each class. I have some confusion around implementing the logic:
1. How salesforce calculates the percentage coverage if the same class is being covered in two separate test classes in two separate batches?
2. Are the test coverages for classs shown after each batch run changes after every batch run?
3. Is there are mechanism to override/increase the limit from 200 to more for test class run in each batch?
TIA
I am writing a code which runs test classes and evaluate test coverage using tooling api. There are around 800 odd classes which when test classes are run splits into 4 bacthes of 200 each.
I want total test coverage of each class. I have some confusion around implementing the logic:
1. How salesforce calculates the percentage coverage if the same class is being covered in two separate test classes in two separate batches?
2. Are the test coverages for classs shown after each batch run changes after every batch run?
3. Is there are mechanism to override/increase the limit from 200 to more for test class run in each batch?
TIA