ReportGeneratorAliases.

ReportGenerator(ICakeContext, IEnumerable<FilePath>, DirectoryPath, ReportGeneratorSettings) Method

Summary

Converts the specified coverage reports into human readable form using the specified settings.

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
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
reports IEnumerable<FilePath> The coverage reports.
targetDir DirectoryPath The output directory.
settings ReportGeneratorSettings The settings.

Return Value

Type Description
void