3

我见过一些使用 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 的正确 NCoverAgurments 的示例?我还需要注册 CoverLib.lib COM 对象吗?

4

1 回答 1

3

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

于 2009-08-26T08:22:14.413 回答