Summary
Converts the specified coverage reports into human readable form using the specified settings.
- Namespace
- Cake
.Common .Tools .ReportGenerator - Containing Type
- Report
Generator Aliases
Syntax
[CakeMethodAlias]
public static void ReportGenerator(this ICakeContext context, IEnumerable<FilePath> reports, DirectoryPath targetDir, ReportGeneratorSettings settings)
Examples
ReportGenerator(new[] { "c:/temp/coverage1.xml", "c:/temp/coverage2.xml" }, "c:/temp/output", new ReportGeneratorSettings(){
ToolPath = "c:/tools/reportgenerator.exe"
});
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
reports | IEnumerable |
The coverage reports. |
targetDir | DirectoryPath | The output directory. |
settings | Report |
The settings. |
Return Value
Type | Description |
---|---|
void |