的Visual Studio 2013的功能$ C与NUnit的$ C镜头 [英] Visual Studio 2013 feature Code Lens with NUnit

查看:241
本文介绍了的Visual Studio 2013的功能$ C与NUnit的$ C镜头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在新的Visual Studio 2013有一个不错的新功能,称为<一个href="http://channel9.msdn.com/Series/Visual-Studio-2012-$p$pmium-and-Ultimate-Overview/$c$cLens">$c$c镜头(我认为这是只有在旗舰版)。至于方法,除了它显示的参考值(有多少,在哪里),也显示了有关团队和测试数据的工作,让你知道有多少使用该方法测试都通过,有多少失败时版本的一些信息。

In the new Visual Studio 2013 there is a nice new feature called Code Lens (I think that it is only in the Ultimate version). Regarding methods, besides it shows references (how many and where) it also shows some information about versioning when working in team and tests statistics so that you know how many tests using the method are passing and how many failing.

我以为这能很好的嵌入在Visual Studio测试项目,但它与NUnit的工作?我们使用NUnit进行单元测试,而我们正试图决定是否移动到VS2013和原因之一是这一点,我们确实希望使用它的最大范围内,如果它支持NUnit的新功能。

I assume that this works perfectly with test projects embedded in Visual Studio, but does it work with NUnit? We are using NUnit for unit testing and we are trying to decide whether or not to move to VS2013 and one of reasons would be this new feature that we would sure like to use to its full extent if it support NUnit.

你有任何与它的经验?

推荐答案

在通过和测试状态指示灯测试由测试浏览器供电。

The tested by and test status indicators are powered by the test explorer.

因此​​,如果您NUnit的测试显示在测试浏览器,他们也应该在codeLens显示出来。

So if your NUnit tests show up in the test explorer, they should also show up in CodeLens.

这篇关于的Visual Studio 2013的功能$ C与NUnit的$ C镜头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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