Skip to content

Output formats

Daniel Palme edited this page Feb 3, 2024 · 27 revisions

Download sample reports in all available formats or browse sample reports.

HTML

  • HTML: The default output format. Creates a summary overview (index.html) and detailed reports for each class.
  • Html_Light: Same as Html but with a light theme.
  • Html_Dark: Same as Html but with a dark theme.
  • Html_BlueRed: Same as Html but with the colors blue/red instead of green/red.
  • HTMLSummary: Creates a single HTML file (summary.htm) without links.
  • Html_BlueRed_Summary: Same as HtmlSummary but with the colors blue/red instead of green/red.
  • HTMLInline: Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like VSTS, since they may block referenced CSS and JavaScript files.
  • HtmlInline_AzurePipelines: Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines.
  • HtmlInline_AzurePipelines_Light: Same as HTMLInline but with modified CSS that matches the light look and feel of Azure Pipelines.
  • HtmlInline_AzurePipelines_Dark: Same as HTMLInline but with modified CSS that matches the dark look and feel of Azure Pipelines.
  • HTMLChart: Creates a single HTML file containing a chart with historic coverage information.
  • MHTML: Same as HTML but packaged into a single MHTML file.

When publishing the reports to Azure DevOps some features are not supported (light/dark theme, dynamic filtering). The reason is, that strict CSP rules are applied and JavaScript and some CSS rules are blocked.

Clover

Cobertura

OpenCover

  • OpenCover: Creates a XML file in OpenCover.

SonarQube

lcov

TeamCity

  • TeamCitySummary: Command line output interpreted by TeamCity.

XML

  • XML: Creates a XML file containing a summary for all classes and detailed reports for each class.
  • XMLSummary: Creates a single XML file containing a summary for all classes.

Latex

  • Latex: Creates a single TEX file containing a summary for all classes and detailed reports for each class.
  • LatexSummary: Creates a single TEX file containing a summary for all classes.

Markdown

  • MarkdownSummary: Creates a single Markdown file containing coverage information per class.
  • MarkdownSummaryGithub Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.
  • MarkdownDeltaSummary: Creates a single Markdown file file containing delta coverage information.

Text

  • TextSummary: Creates a single TXT file containing coverage information per class.
  • TextDeltaSummary: Creates a single TXT file containing delta coverage information.

Other

  • JsonSummary: Creates a single JSON file containing a summary for all classes.
  • CodeClimate: Creates a single JSON file containing a (Gitlab) code climate report.
  • CsvSummary: Creates a single CSV file containing coverage information per class.
  • SvgChart: Creates a single SVG file containing a chart with historic coverage information.
  • Badges: Creates SVG files that show line and/or branch coverage information.