如何将 Machine.Specifications 与 ReSharper 6 集成?
我正在使用 ReSharper 6,并试图让它在 Resharper 测试运行程序中获取我的 MSpec 测试。不幸的是我似乎无法让它发挥作用。
我已将 MSpec dll 文件(Machine.Specifications.dll 和 Machine.Specifications.ReSharperRunner.5.1.dll)复制到 ReSharper 插件目录,但似乎找不到该插件。打开测试运行程序并刷新时,不会拾取任何测试。
我确实意识到测试运行器插件适用于 5.1 版本,但 ReSharper 至少应该在我的解决方案中找到测试,即使它无法使用 5.1 运行器运行它们?
关于如何让它发挥作用有什么建议吗?
I'm using ReSharper 6 and I'm trying to get it to pick up my MSpec tests in the Resharper test runner. Unfortunately I can't seem to get this to work.
I have copied the MSpec dll files (Machine.Specifications.dll and Machine.Specifications.ReSharperRunner.5.1.dll) to the ReSharper plugin directory but it does not seem to find the plugin. When opening the test runner and refreshing no tests are picked up.
I do realize that the test runner plugin is for version 5.1 but ReSharper should at least find the tests in my solution, even if it is not able to run them using the 5.1 runner?
Any suggestions on how to get this to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
resharper 团队刚刚发布(2011 年 7 月 20 日)有关在 Resharper 6 中集成 MSpec 的解决方案。
前往那里
The resharper team just post (July 20th, 2011) a solution about the integration of MSpec in Resharper 6.
Head over there
我不使用 Machine.Specifications,但我知道您将无法在 6.0 中使用 5.x 编译的插件,因为 DLL 已发生很多更改。
您可以使用“devenv”运行 Visual Studio .exe /ReSharper.Internal”标志启用 Resharper 中的内部调试菜单,如果您要下载 MSpec 源并尝试使用 Resharper 6.0 DLL 进行编译,这可能会给您一个起点
I don't use Machine.Specifications but I do know you won't be able to use a 5.x compiled plugin with 6.0 because the DLL's have changed a lot
You can run Visual Studio with "devenv.exe /ReSharper.Internal" flag to enable the internal debug menu in Resharper, that might give you a starting point if you were to download MSpec source and attempt to compile with the Resharper 6.0 DLL's