【问题标题】:PartCover with msTest in Cruise control .net在 Cruise control .net 中使用 msTest 的 PartCover
【发布时间】:2012-04-23 20:37:37
【问题描述】:

谁能告诉我如何在 Cruise control .net 中使用 partcover 和 mstest,

我已经这样做了,但我得到一个错误

errorMSB3073: The command "C:\Program Files\PartCover\PartCover .NET 4.0\PartCover.exe --target=${nunitExePath} --target-work-dir=D:\Demo_Project\ --target-args=D:\DEMO\TestProject\bin\Debug\TestProject.dll --include=[LaTrompa]* --output=${partCoverReportPath}\${projectTests}-Results.xml" exited with code 9009.

我在 msbuild 中使用了以下命令

<PropertyGroup>
<partCoverReportPath>D:\BuildReports\PartCover\</partCoverReportPath>
<nunitExePath>C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe</nunitExePath>   

-->

【问题讨论】:

    标签: cruisecontrol.net mstest partcover


    【解决方案1】:

    使用以下命令

    C:\Program Files\PartCover\PartCover .NET 4.0\PartCover.exe" --target "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" --include [TestProjectName]* --include [More if u have]* --target-args "/noisolation /testcontainer:path\TestProjectName.dll" --target-work-dir "Working dir of project" --output "output pathr\partcover.xml
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-03-09
      • 1970-01-01
      • 2010-12-03
      • 2013-03-09
      • 1970-01-01
      • 2010-09-09
      • 2013-01-02
      相关资源
      最近更新 更多