3

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.

7

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

  • I guess if no classes appear there... then there are no tests for the class, right? – Javier García Manzano Jun 27 '17 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.