ReportGeneratorAliases.

ReportGenerator(ICakeContext, string, DirectoryPath, ReportGeneratorSettings) Method

Summary

Converts the coverage report specified by the glob pattern into human readable form using the specified settings.

Syntax

[CakeMethodAlias]
public static void ReportGenerator(this ICakeContext context, string pattern, DirectoryPath targetDir, ReportGeneratorSettings settings)

Examples

ReportGenerator("c:/temp/coverage/*.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.
pattern string The glob pattern.
targetDir DirectoryPath The output directory.
settings ReportGeneratorSettings The settings.

Return Value

Type Description
void