ReportUnitAliases.

ReportUnit(ICakeContext, FilePath, FilePath, ReportUnitSettings) Method

Summary

Converts the single specified report into human readable form and outputs to specified file.

Syntax

[CakeMethodAlias]
public static void ReportUnit(this ICakeContext context, FilePath inputFile, FilePath outputFile, ReportUnitSettings settings)

Examples

Provide both input and output file, which will causes ReportUnit to transform only the specific file, and output to the specified location. Also use a custom path for the reportunit.exe.

Cake task:

ReportUnit("c:/temp/input", "c:/temp/output", new ReportUnitSettings(){
    ToolPath = "c:/tools/reportunit.exe"
});

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
inputFile FilePath The input file.
outputFile FilePath The output file.
settings ReportUnitSettings The ReportUnit settings.

Return Value

Type Description
void