NCover 无法创建覆盖率报告。 0 通过, 0 失败, 0 跳过

发布于 2024-08-27 23:51:23 字数 313 浏览 1 评论 0原文

我正在使用 Visual Studio 2008 Professional 和 TestDriven.NET 2.14.2190、Windows XP (x86)。

当我右键单击我的单元测试项目时,使用 - Coverage 进行测试,我获得以下输出:
NCover 无法创建覆盖率报告。

结果:
0 通过,0 失败,0 跳过

我没有安装其他版本的 NCover,只安装了 VS 和 TestDriven .NET

实际测试按预期执行 - 所有测试都成功通过(所以,我的类没有任何问题)

有谁知道什么可能是问题所在?

I am using Visual Studio 2008 Professional with TestDriven.NET 2.14.2190, Windows XP (x86).

When i right click on my unit tests project, test with - Coverage, I obtain the following output:
NCover couldn't create a coverage report.

and the result:
0 Passed, 0 Failed, 0 Skipped

I have no other versions of NCover installed, just the VS and TestDriven .NET

The actual testing is performed as expected - all tests successfully pass (so, there's nothing wrong with my class)

Does anyone know what could be the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

掩饰不了的爱 2024-09-03 23:51:24

您是否将 pdb 文件放在汇编文件旁边?否则 NCover 将无法工作。

Did You put pdb-files beside the assembly files? Otherwise NCover won't work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文