目前我正在将TeamCity构建步骤迁移到FAKE,现在我仍然坚持使用dotCover运行测试。
您能举例说明如何正确使用DotCover吗?
答案 0 :(得分:4)
终于找到了我的问题的答案:
!! (buildDir @@ buildMode @@ "/*.Unit.Tests.dll")
|> DotCoverNUnit
(fun dotCoverOptions -> { dotCoverOptions with
Output = artifactsDir @@ "NUnitDotCover.snapshot" })
(fun nUnitOptions -> { nUnitOptions with
DisableShadowCopy = true })