3

Is there a way I can see what classes do a test class cover on the eclipse plugin. I really don't like the way the Developer Console works and its super buggy and slow.

I'm looking for detailed information about what test class covers each controller/trigger.

2

By default in the force IDE in eclipse, when you run a test class, the results shows you all the classes that were touched and covered by your class. It shows all classes, even the ones that weren't covered by your class at all.

This is somewhat detailed, as you can drill into each class and see which lines of a particular class weren't covered. See the screenshot below of the results after running a test class.

Results

enter image description here

Drill Down

enter image description here

4
  • Is there a way I can see which test class was involved in that ApexClass coverage?
    – raym0nd
    Oct 29 '13 at 15:49
  • In this case, I ran the test on one specific test class by right clicking and choosing force -> run tests. In the case of running multiple tests, no it doesn't indicate which test class invoked the code. Oct 29 '13 at 15:54
  • hmmm ok, so whats the best advice on this thing? I need to have a way to be able to see the overall coverage for each class/trigger as a function of all test classes in the org.
    – raym0nd
    Oct 29 '13 at 15:56
  • 1
    Unfortunately, I believe you'll need the dev console for that. Someone please correct me if I'm wrong. I'm not the biggest fan either, but SF is really trying to push the dev community towards it. Oct 29 '13 at 15:59

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.