0

Is it possible to convert a cobertura.xml file to an html report or similar, so it can be viewed locally? I already have it pretty-printing in Jenkins but we need it locally too...

The report has been produced using istanbul/nyc, and the code it's producing coverage for is in node.js.

rozza
  • 927
  • 2
  • 11
  • 24

1 Answers1

1

pycobertura (repository) answers your need of converting a Cobertura XML report into an human-friendly HTML page:

pycobertura show --format html --output coverage.html cobertura.xml

Then open coverage.html in your browser to check the report.

adamency
  • 682
  • 6
  • 13