Summary
Tell TeamCity to import coverage from dotCover snapshot file.
Syntax
void ImportDotCoverCoverage(FilePath snapshotFile, DirectoryPath dotCoverHome = null)
Examples
if (BuildSystem.TeamCity.IsRunningOnTeamCity)
{
BuildSystem.TeamCity.ImportDotCoverCoverage("./coverage.dcvr");
}
if (TeamCity.IsRunningOnTeamCity)
{
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