昨天,我决定安装最新的 NCover 版本(3.4.2)。但是,当我在现有的 .ncover 配置文件上运行它时,NCover 输出突然报告我所有的 MSTest 测试都失败了。当然,这些测试在 Visual Studio 中运行时会成功。因此,NCover 无法确定任何覆盖范围。
不知何故,旧配置似乎不适用于新版本。
有谁知道问题可能是什么或如何解决?
顺便提一句。这是我的 ncover 配置。
项目设置:要配置文件的应用程序路径: c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe
应用程序要分析的参数: /testcontainer:D:\dev\MyApp\MyApp.Services.Tests.Unit\bin\Debug\MyApp.Services.Tests.Unit.dll /testcontainer:D:\dev\MyApp\MyApp。 WS.Tests.Unit\bin\Debug\MyApp.WS.Tests.Unit.dll
工作文件夹: D:\dev\MyApp