Export Code Coverage report

Issue #1617 resolved
Piotr Kożuchowski created an issue

It would be helpful to be able to export code coverage report - name of class and % of coverage.

Comments (5)

  1. Scott Wells repo owner

    This is actually a feature of the base IDE that seems to have changed in 2020.1. Well, to be clear, it has always been available in IntelliJ IDEA but not in the lightweight IDEs such as WebStorm. Let me follow up with JetBrains and see what happened to it. Perhaps I just need to make a slight adjustment to catch things up.

  2. Piotr Kożuchowski reporter

    Oh, yes I actually found it! I couldn’t see any dedicated button for it, but after searching for actions I found “Generate Coverage Report” action. In that case, my only suggestion would be adding button for it on test runner panel.

  3. Scott Wells repo owner

    In 2020.* JetBrains did some significant refactoring along code IDE/plugin boundaries in this area. Apparently coverage-report.jar is no longer available at runtime even if you enable the Code Coverage for Java plugin in IntelliJ IDEA. I've inquired about this with them as coverage reporting seems like it should just be part of the core coverage feature set.

    I'm resolving this for now as there's really nothing I can do about it. If/when they do move that into the core feature set, though, it will be an action that's immediately available in the Coverage tool window that's opened when you show coverage data.

  4. Scott Wells repo owner

    I worked with JetBrains and will be bundling the necessary jars for reporting in all supported IDEs in the next official build.

  5. Log in to comment