Better jcov integration
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed Feb 28 17:05:32 UTC 2018
cc: jcov-dev at ojn
Hi Eric,
Generally, writing reports in other useful formats certainly seems like
a good, pragmatic suggestion, although I'll leave it to the JCov team to
comment in more detail.
-- Jon
On 2/28/18 4:42 AM, Eric McCorkle wrote:
> Hello everyone,
>
> I recently found myself needing better integration of jcov into various
> build/testing tools, so I did two things. First, I modified the jcov
> tool to generate a report in the Cobertura XML format, which is used by
> Jenkins and other tools as an input format. While these reports are
> inferior in my opinion to the HTML reports jcov generates, they do allow
> integration with other tools and CI systems. Therefore, I think
> providing this functionality would likely encourage more people to use
> jcov over the alternatives.
>
> I've attached the patch for this modification here, if anyone would like
> to review it.
>
>
> I've also mostly wrangled the Maven plugin API to create a plugin for
> using jcov in a Maven project (however, there is one remaining issue
> with documentation generation that I need to correct before I call the
> plugin "finished"). I'm not sure if that would be something that would
> be added to codetools, if the group ID should be something like
> "org.openjdk", or what else ought to be done about it. I will gladly
> contribute the code if there's a desire to adopt it.
More information about the code-tools-dev
mailing list