DotCover in FAKE

I am currently migrating TeamCity build steps to FAKE and now I am stuck running tests with dotCover.

Could you provide an example of how to use DotCover correctly ?

+3


source to share


1 answer


Finally found the answer to my question:



!! (buildDir @@ buildMode @@ "/*.Unit.Tests.dll") 
|> DotCoverNUnit 
    (fun dotCoverOptions -> { dotCoverOptions with 
            Output = artifactsDir @@ "NUnitDotCover.snapshot" }) 
    (fun nUnitOptions -> { nUnitOptions with
            DisableShadowCopy = true })

      

+4


source







All Articles