Export Code Coverage report
It would be helpful to be able to export code coverage report - name of class and % of coverage.
Comments (6)
-
repo owner -
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.
-
repo owner - changed status to resolved
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.
-
repo owner I worked with JetBrains and will be bundling the necessary jars for reporting in all supported IDEs in the next official build.
-
repo owner Delivered in 2.1.4.2.
-
repo owner - changed component to Apex Unit Testing
- Log in to comment
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.