You need to sign in to do that
Don't have an account?
kanavkhurana
Test class included in coverage?
Hi All,
I have a Utility Class, 'TestDataGenerator' for generating test records. I have applied the '@isTest' annotation to this class. However, it's showing up in the overall code coverage (see screenshot below). As I understand, Test classes themselves are not included in the overall code coverage calculation. Please help!
I have a Utility Class, 'TestDataGenerator' for generating test records. I have applied the '@isTest' annotation to this class. However, it's showing up in the overall code coverage (see screenshot below). As I understand, Test classes themselves are not included in the overall code coverage calculation. Please help!
can you send me your Code sample?
Because i think you are calling any other class under this TestDataGenerator.
Thanks for the tip! :)
I've checked the code and there are no calls to any other classes. Unfortunately, as per my company's IP policy, it will not be possible for me to share a code sample.
http://salesforce.stackexchange.com/questions/1226/why-are-my-test-classes-marked-istest-getting-listed-with-code-coverage