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

Find Out Which Class is providing Test Coverage to my Class?
Hello, I have to change a class that was created 2 years ago by a different colleague. The current test code coverage is 88% for the class and there is no clear test class available that I can see which has produced this test coverage result. Is there a way to detrmine how this test coverage was provided? I.E. which classes resulted in the test code coverage being provided to the class I wish to change?
Hi,
There is no direct way to find this out. What i can provide is the alternative to find this out :)
What you can do is just change the name of the current class and save it. Then run all the test methods for the entire organization. Automatically the classes and methods which are referring to this class will fail and salesforce will give you the names of those classes with methods :D .
Hope this will help you!!
If this solves your problem plz mark this as solution
Thanks,
Mandar.
All Answers
Hi,
There is no direct way to find this out. What i can provide is the alternative to find this out :)
What you can do is just change the name of the current class and save it. Then run all the test methods for the entire organization. Automatically the classes and methods which are referring to this class will fail and salesforce will give you the names of those classes with methods :D .
Hope this will help you!!
If this solves your problem plz mark this as solution
Thanks,
Mandar.
Or,
You can do a keyword search of the classes using the IDE