如何让 Gallio 和 Nover 1.5.8.2 在命令行上工作?

发布于 2024-08-03 04:46:33 字数 409 浏览 1 评论 0原文

我见过一些使用 gallio 的例子,如下所示:

Gallio.Echo.exe Widget.Tests.dll /runner:NCover /runner-property:NCoverCoverageFile='C:\Temp\WidgetCoverage.xml' /runner-property:NCoverArguments='//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly'

当我运行这个时,它给我一个错误,指出无法找到 '//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly'? 我正在寻找有关如何获得 1.5.8 的正确 NCoverAguments 的示例?我还需要注册 CoverLib.lib COM 对象吗?

I have seen some examples that use gallio such as this:

Gallio.Echo.exe Widget.Tests.dll /runner:NCover /runner-property:NCoverCoverageFile='C:\Temp\WidgetCoverage.xml' /runner-property:NCoverArguments='//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly'

When I run this, it gives me an error stating that the '//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly' can not be found?
I am looking for an example on how have the correct NCoverAgurments for 1.5.8? I need to register the CoverLib.lib COM object as well?

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

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

发布评论

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

评论(1

生寂 2024-08-10 04:46:33

Ncover v1.58 不支持 //eas 参数。使用 //a 参数并指定要分析的程序集名称列表。请务必仅指定程序集显示名称,而不是其路径或文件名。

NCover v1.58 does not support the //eas argument. Use the //a argument and specify the list of assembly names that you want to profile. Be sure to only specify the assembly display name, not its path or filename.

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