Search code examples
intellij-ideatest-coverage

How to view code coverage details in Intellij


When I run Code Coverage -either as part of invoking a unit test or from Analyze | Generate Coverage Report the result is only a one-line summary as shown:

enter image description here

Instead what we want is to see coverage by class - to hone in on the undertested areas. Even better would be detailing per-class areas (to the lines?) Does IJ have any of those capabilities?


Solution

  • Aha! It show up in the Explorer. Now there really should also be a text report .. so if anyone knows where that is or how to generate it another answer would be appreciated.

    NOte: I can not show the full path names for confidentiality reasons

    enter image description here