Summary
Tell TeamCity to import coverage from dotCover snapshot file.
- Namespace
- Cake
.Common .Build .TeamCity - Containing Type
- TeamCityProvider
Syntax
public void ImportDotCoverCoverage(FilePath snapshotFile, DirectoryPath dotCoverHome = null)
Examples
if (BuildSystem.TeamCity.IsRunningOnTeamCity)
{
BuildSystem.TeamCity.ImportDotCoverCoverage("./coverage.dcvr");
}
Parameters
| Name | Type | Description |
|---|---|---|
| snapshotFile | FilePath | Snapshot file path. |
| dotCoverHome | DirectoryPath | The full path to the dotCover home folder to override the bundled dotCover. |
Return Value
| Type | Description |
|---|---|
| void |
