Is it possible to output HTML Report for Clover Code Coverage from IntelliJ plugin

Stephanie Zarandy December 8, 2015

I have IntelliJ 14 and Clover Coverage 4.1 installed.  I can view the integrated report after running my test, but is there a way to generate an HTML report from the IntelliJ plugin?  Or is that only available on the Server version.

2 answers

0 votes
Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2015

If you just want to simply generate HTML report from IntelliJ Idea plugin and open it in external browser then it's possible via Coverage with Generate Clover Report

Screen Shot 2015-12-09 at 11.26.54.png

 

Note: You have to have Server license not Desktop one in order to do that. 

0 votes
Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2015

Clover for Idea is designed to provide all functionalities HTML report is providing.

  • highlights source code lines according to coverage
  • Coverage tab which provides coverage statistics for packages, class and methods.
  • Test runs showing executed tests and per test coverage
  • TreeMap report
  • Cloud report to see overall statistics of coverage for whole project along with 'Top Risks' and 'Quick Wins' reports

But there's no direct way to simply open HTML report in IntelliJ IDEA, it would require some HTML rendering engine build in IntelliJ, but I'm not sure if this tool provides it at all. 

For reference:

https://confluence.atlassian.com/display/CLOVER/2.+Exploration+of+coverage+in+IDEA

https://confluence.atlassian.com/display/CLOVER/3.+Exploration+of+test+results+in+IDEA

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events