Usage

The more advanced settings are documented in the wiki.

Environment



Reports

Path to the coverage report(s) that should be parsed.
Globbing is supported.

Target directory

The directory where the generated report(s) should be saved.

Report types

Filter:

Source directories

Optional directories which contain the corresponding source code.
The source directories are used if coverage report contains classes without path information.

History directory

Optional directory for storing persistent coverage information. Choose a directory which does not get deleted between builds.
Required to show the history chart in the HTML reports.

Plugins

Optional plugin files for custom reports or custom history storage.

Assembly filters

Optional list of assemblies that should be included or excluded in the report.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Examples:
+Included
-Excluded


Class filters

Optional list of classes that should be included or excluded in the report.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Examples:
+Included
-Excluded


File filters

Optional list of files that should be included or excluded in the report.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Examples:
+Included
-Excluded


Risk Hotspots: Assembly filters

Optional list of assemblies that should be included or excluded in the risk hotspots.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Examples:
+Included
-Excluded


Risk Hotspots: Class filters

Optional list of classes that should be included or excluded in the risk hotspots.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Examples:
+Included
-Excluded


Verbosity

The verbosity level of the log messages.

Title

Optional title.

Tag

Optional tag or build version.

License

Optional license. Get your license here: https://reportgenerator.io/pro

License can also be supplied via REPORTGENERATOR_LICENSE environment variable.

Instructions

Install ReportGenerator
Package Manager
Install-Package ReportGenerator -Version 5.4.1
.NET CLI
dotnet add package ReportGenerator --version 5.4.1

Usage

-reports:cobertura.xml
-targetdir:coveragereport

Instructions

Install ReportGenerator
Package Manager
Install-Package ReportGenerator -Version 5.4.1
.NET CLI
dotnet add package ReportGenerator --version 5.4.1

Usage

-reports:cobertura.xml
-targetdir:coveragereport