ReportUnitAliases.

ReportUnit(ICakeContext, DirectoryPath, DirectoryPath, ReportUnitSettings) Method

Summary

Converts the reports in the specified directory into human readable form and outputs to specified folder.

Syntax

[CakeMethodAlias]
public static void ReportUnit(this ICakeContext context, DirectoryPath inputFolder, DirectoryPath outputFolder, ReportUnitSettings settings)

Examples

Provide both input and output folder, which will causes ReportUnit to search entire directory for report files, and output the results to specified location.

Cake task:

ReportUnit("c:/temp/input", "c:/temp/output");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
inputFolder DirectoryPath The input folder.
outputFolder DirectoryPath The output folder.
settings ReportUnitSettings The ReportUnit settings.

Return Value

Type Description
void