unit-testing - 通过 Gallio 将 Resharper 单元测试运行器用于 MSTest

标签 unit-testing resharper mstest gallio

我正在尝试获取 Resharper测试运行程序通过 Gallio 识别我的 MSTest 单元测试.

我安装了以下内容:
VSTS 2005 8.0.50727.762
Resharper 4.1
加里奥 3.0.0.285

我也在运行 Windows XP x64。

单元测试选项仅显示 NUnit 可用。我想我一定有一些版本错误。有人可以指出我正确的方向吗?我是不是叫错了树,这仅适用于 VS2k8?

更新:好吧,我将 Gallio 更新为 GallioBundle-3.0.4.385-Setup,它现在显示在 R# 的单元测试选项中。但是在 R# 或 Icarus 中运行测试时出现以下错误:

Failures Cannot run tests because the MSTest executable was not found



谢谢

最佳答案

我不确定这是否适用于您的问题,但 Gallio 网站上的最新消息指出:

Gallio and ReSharper 4.0
A few people have asked when Gallio will support the final release of ReSharper 4.0. Unfortunately there were some last-minute breaking changes between ReSharper 4.0 Beta and the Final release. So the ReSharper plugin in Gallio Alpha 3 Update 2 will not work anymore. No matter... we plan to release another update of Gallio later this week.



更新:刚刚看到这适用于比您使用的更早的版本,因此请忽略这一点。

关于unit-testing - 通过 Gallio 将 Resharper 单元测试运行器用于 MSTest,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/94057/

相关文章:

angular - 如何模拟传递给方法的 ElementRef

visual-studio - 单元测试的 Resharper 问题

msbuild - Mercurial/Kiln + MSBuild + MSTest 的持续集成建议

autocomplete - 如何在 Visual Studio 2012(或 Resharper)中禁用/* 自动完成

c# - ReSharper 5 禁用解析 View

c# - ReSharper 类型成员布局模式 - 分组事件处理程序

.net - 如何使用自定义记录器进行 vs 测试?

javascript - 编写 "unit testable"jQuery 代码?

python - Django - 测试页面的 500 状态

unit-testing - 在 node.js 中测试响应?