Hi,
thanks for sharing this idea! If this can be easly done (e.g. with our
existing XML output facilities) it looks like a nice gimmick.
Can you please provide a example SVG how you think it should look like?
Cheers,
-marc
On 2018-02-11 00:39, [email protected] wrote:
Hello,
I'm using JaCoCo in Maven to generate test coverage reports. It's
working great! It works so well I want to put a badge in my GitHub
README -- like the "build: passing" badges you see all over -- to
motivate me to keep my test coverage up.
I've poked around for ways to generate a badge from JaCoCo Test
Coverage data. It looks like there are plugins for Jenkins and Travis,
but both of those cost a good bit of money for use on private
repositories. I'm using AWS CodeBuild -- which is cheap and has been
working great for me -- but has no JaCoCo badge support that I can
see.
Is there a good way to build test coverage badges in JaCoCo?
If there isn't currently a good way, would the JaCoCo team be
interested in a new goal in the maven plugin to generate said badges?
I imagine the goal could be called "badge" (or similar) and would be
designed to consume the report-aggregate output, and it would generate
an SVG file reflecting total test coverage across all files.
If this sounds interesting to the team, I'd be happy to rough out an
implementation for review!
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/6fa3db0aa1b26250c9e9e088e6dc225f%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.