如何让 MSTest 与 Gallio/MBUnit 一起工作?
如何让 MSTest 与 Gallio/MBUnit 一起工作?
我正在尝试让 TeamCity 与 Gallio/MBUnit 以及一些遗留的 MSTest 单元测试一起使用。 MSTest 部分失败,并显示“调用目标已引发异常”错误消息。
GallioBundle-3.1.397.0-Setup-x64.msi 出现问题。
How to get MSTest to work with Gallio/MBUnit?
I am trying to get TeamCity to work with Gallio/MBUnit and also some legacy MSTest unit tests. The MSTest section fails with a "Exception has been thrown by the target of an invocation" error message.
Problem seen with GallioBundle-3.1.397.0-Setup-x64.msi.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我看到杰夫提供的链接中列出了许多新版本。为什么它们没有列在 Gallio 网站上?那不是(还)正式发布吗?
-编辑-
我尝试了杰夫提供的链接的最新版本。但我仍然遇到同样的错误:
调用目标抛出异常
我可以在 VS 中正常运行测试...
I see many new versions are listed in the the link Jeff provided. Why aren't they listed on the Gallio website? Are that not (yet) official releases?
-EDIT-
I tried the latest version of the link Jeff provided. But still i got the same error:
Exception has been thrown by the target of an invocation
I can run the tests fine in VS ...
看起来像一个已知问题:
问题 606:Gallio 从 CLI 禁用 mstest
Looks like a known issue:
Issue 606: Gallio disables mstest from CLI
在最近的版本中已修复。尝试一下 http://ccnet.gallio.org/Distributables/ 中的一个
Fixed in recent builds. Try one from http://ccnet.gallio.org/Distributables/