带有 moles runner 和 xml 输出的 xunit
有人让这个工作吗?我在使用 moles runner 和 xunit 控制台以及将 XML 输出写入文件时遇到问题。我正在使用以下内容:
moles.runner /x86 /runner:"d:\tools\xunit\xunit.console.clr4.x86.exe" "d:\project\foo.dll" /args:"xml d:\project\foo.xml"
鼹鼠似乎可以调用跑步者,但我得到:
error: missing filename for /xml:d:\project\foo.xml
然而,如果我将 /d 标志放在鼹鼠跑步者诊断上,它会显示正确的跑步者:
d:\tools\xunit\xunit.console.clr4.x86.exe /xml d:\project\foo.xml
如果我运行它,测试就会运行(并失败,因为它们是摩尔测试),但 xml 文件已创建。
有什么想法吗?
Has anyone got this working? I'm having trouble using the moles runner with the xunit console and getting the XML output to a file. I'm using the following:
moles.runner /x86 /runner:"d:\tools\xunit\xunit.console.clr4.x86.exe" "d:\project\foo.dll" /args:"xml d:\project\foo.xml"
moles seems to invoke the runner OK, but I get:
error: missing filename for /xml:d:\project\foo.xml
Yet, if I put the /d flag on for the moles runner diagnostics it shows the correct runner:
d:\tools\xunit\xunit.console.clr4.x86.exe /xml d:\project\foo.xml
And if I run that, the tests run (and fail because they are mole tests), but the xml file is created.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论