CoverallsAliases.

CoverallsNet(ICakeContext, FilePath, CoverallsNetReportType, CoverallsNetSettings, ProcessSettings) Method

Summary

Uploads the code coverage report to Coveralls.io using the coveralls.net tool with the specified settings, and the specified process settings.
Assembly
Cake.Coveralls.dll
Namespace
Cake.Coveralls
Containing Type
CoverallsAliases

Syntax

public static void CoverallsNet(this ICakeContext context, FilePath codeCoverageReportFilePath, CoverallsNetReportType reportType, CoverallsNetSettings settings, ProcessSettings processSettings)

Examples

 var processSettings = new ProcessSettings
 {
     RedirectStandardError = true,
     RedirectedStandardErrorHandler = line => null,
 };

 CoverallsNet("coverage.xml",
     CoverallsNetReportType.OpenCover,
     new CoverallsNetSettings { RepoToken = "abcdef" },
     processSettings);

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
codeCoverageReportFilePath FilePath The path to the code coverage file.
reportType CoverallsNetReportType The type of the code coverage report.
settings CoverallsNetSettings The settings.
processSettings ProcessSettings The process settings, or for the runner's defaults. Useful for redirecting standard error or output away from the build log.

Return Value

Type Description
void