带有 Resharper 5 的 NUnit 插件 [英] NUnit Addins with Resharper 5

查看:37
本文介绍了带有 Resharper 5 的 NUnit 插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最新的 Resharper (v5) 版本基于原生 NUnit 代码并允许 NUnit 插件.

The latest Resharper (v5) version is based on native NUnit code and allows NUnit addins.

我有一个在 NUnit GUI 中运行良好的 NUnit 插件,但我无法让它与 Resharper 一起使用.根据 R# 指示,我已将插件库放在 %ResharperPath%\Bin\addins 中,但我不起作用,我的测试被标记为 Ignored.

I have a NUnit addin that works fine in NUnit GUI but I can not make it work with Resharper. Based on R# indication I have put my addins library in %ResharperPath%\Bin\addins but I doesn't work, my tests are marked as Ignored.

问题:如何在 ReSharper 中使用 NUnit 插件?

Question: How to use NUnit addins with ReSharper?

推荐答案

遗憾的是,ReSharper 的测试运行程序不支持 NUnit 插件.它已被请求,但尚未添加,甚至未添加到即将推出的 ReSharper 6.(随意投票支持功能请求,让他们知道有兴趣 - 我刚刚这样做了.)

Unfortunately, ReSharper's test runner doesn't support NUnit add-ins. It's been requested, but hasn't been added, not even to the forthcoming ReSharper 6. (Feel free to vote for the feature request to let them know there's interest -- I just did.)

我们在一些测试中使用了 NUnit 插件,而这些测试根本没有出现在 ReSharper 中——没有装订线图标,在单元测试"窗口中什么也没有,什么也没有.我们唯一的选择是,当我们想要运行这些测试时,启动 NUnit GUI.很痛苦.

We use an NUnit add-in for some of our tests, and those tests don't show up in ReSharper at all -- no gutter icons, nothing in the Unit Tests window, nothing. Our only option is, when we want to run those tests, to fire up the NUnit GUI. It's a pain.

这篇关于带有 Resharper 5 的 NUnit 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆