This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Coveralls.
Summary
Uploads the code coverage report to Coveralls.io using the coveralls.net tool with the specified settings, and the specified process settings.
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