Skip to content

Instantly share code, notes, and snippets.

@scrooby
Created July 13, 2016 10:23
Show Gist options
  • Save scrooby/2cb462d00d44a7b502b209438836eb02 to your computer and use it in GitHub Desktop.
Save scrooby/2cb462d00d44a7b502b209438836eb02 to your computer and use it in GitHub Desktop.
FAKE dotCover coverage TeamCity integration
Target "TestCoverage" (fun _ ->
let filters = ""
!! unitTestsFiles
|> DotCoverNUnit3 (fun p ->
{ p with
Output = artifactsDir @@ "NUnitDotCover.snapshot"
Filters = filters }) nunitOptions
tracefn "##teamcity[importData type='dotNetCoverage' tool='dotcover' path='%s']" (artifactsDir @@ "NUnitDotCover.snapshot")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment