MbUnit 和 Resharper 集成在 Visual Studio 2010 中不起作用
这周我安装了一台新机器。它运行的是 Windows 7 64 位。 我安装了 Visual Studio 2010 Professional,然后安装了 Resharper 5.0,紧随其后的是很快发布的 Resharper 5.1后。 由于我有一个在 MbUnit 中进行测试的项目,因此我安装了 MbUnit/Gallio,使用 3.1.397 版本x64 msi 安装程序来自此处。
我本来希望看到 Reshaper 在我的测试旁边放置的绿色排水沟图标,但我没有。我尝试删除 Gallio 并安装 32 位版本。没有变化。我按照 这个问题,但这没有产生任何变化。在此过程中,%APPDATA%
设置为 C:\Users\Me\AppData\Roaming
,因此我删除了 C:\Users\Me\AppData\漫游\JetBrains
。我还尝试卸载 Reshaper 和 gallio,从 AppData\Roaming
、AppData\Local
和 C:\Program Files (x86) 中删除所有 Resharper 和 Gallio 数据)
,然后从以管理员身份运行的 cmd 再次安装,但同样没有任何变化。
Resharper 的“插件”对话框中没有列出任何插件,并且在 Resharper|选项|单元测试
项中列出的“单元测试提供程序”是 MSTest 和 nUnit。
Visual Studio 还列出了另外两个插件:“.Net Reflector”和“Visual Git”。
我需要做什么才能让 MBUnit 在 Resharper 中工作?
这两个工具中哪一个提供集成?我应该先安装 Resharper 还是 Gallio?
集成文件或设置在哪里?有人建议我应该在 C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Plugins
或类似目录中有一个“resharper 插件目录”,但这根本不存在。
I set up a new machine this week. It is running Windows 7, 64 bit.
I installed Visual Studio 2010 Professional, then Resharper 5.0, rapidly followed by Resharper 5.1 when it came out soon after.
Since I have a project with tests in MbUnit, I have installed MbUnit/Gallio, using the 3.1.397 version x64 msi installer from here.
I was expecting to see the green gutter icons that Reshaper puts next to my tests, but I do not. I tried removing Gallio and installing the 32 bit version. No change. I re-installed both Resharper as Gallio as per this question, but this produced no change. In this procedure, %APPDATA%
is set to C:\Users\Me\AppData\Roaming
, so I deleted C:\Users\Me\AppData\Roaming\JetBrains
. I have also tried unstalling both Reshaper and gallio, deleting all Resharper and Gallio data from AppData\Roaming
, AppData\Local
, and C:\Program Files (x86)
, and then installing again from a cmd running as admin, but again, no change.
Resharper has no plugins listed in the Plugins dialog, and in the Resharper|Options|Unit testing
item the "unit testing providers" listed are MSTest and nUnit.
Visual studio has two other Add-ins listed: ".Net Reflector" and "Visual Git".
What do I have to do to get MBUnit working in Resharper?
Which of these two tools provides the integration? Should I install Resharper or Gallio first?
Where do the integration files or settings go? It has been suggested that I should have a "resharper plugins directory" in C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Plugins
or similar but this is not present at all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
R# 5.1 RTW 由 支持>Gallio/MbUnit 从 v3.2.512 开始。您可以在每日构建存储库中下载 Gallio 捆绑包的最新二进制文件。 v3.2尚未正式发布,但已经非常稳定。
更新1:R#5.1 正式支持。< br>
更新 2:Gallio v3.2 RC,支持 R# 5.0 和 5.1。
R# 5.1 RTW is supported by Gallio/MbUnit starting from v3.2.512. You can download the latest binaries of the Gallio bundle in the daily builds repository. v3.2 is not officially released yet but it is very stable already.
UPDATE 1: R#5.1 officially supported.
UPDATE 2: Gallio v3.2 RC with R# 5.0 and 5.1 support.