4

Does Salesforce have a functionality that lets you identify which test classes (and possibly which of those tests) cover a particular Apex class?

I know that if you run a test class then you see which classes that test class covers but I would like the reverse if possible.

1

1 Answer 1

8

Are you looking for something like this?

Developer Console > File > Open > 'Select class', top left corner says which tests are covering the specific class

Developer console

1
  • I guess if no classes appear there... then there are no tests for the class, right? Jun 27, 2017 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.