[Haskell-cafe] HPC and coverage report
Baa
aquagnu at gmail.com
Wed Sep 13 08:32:59 UTC 2017
Hello Everyone.
To generate coverage, Haskellers use HPC. HPC has command
report [--xml-output] ...
which allows to get XML output of coverage. Jenkins CI "understands"
Cobertura Coverage XML format, which is shown as code source marked
with red/green/etc background lines - uncovered/covered code lines.
Also it's possible to mark branches (if/else/etc). It's true for
Python, Java, etc.
Can HPC (or other Haskell tool) does the same, i.e. generate
Cobertura-compatible XML (to be understandable by Jenkins CI) ? What
peoples use for coverage reporting under Jenkins CI w/ Haskell ? Is
this `hpc report --xml-output` compatible w/ Jenkins CI ?
===
Best regards, Paul
More information about the Haskell-Cafe
mailing list