简体   繁体   English

我可以在Visual Studio 2010中运行NUnit测试吗?

[英]Can I run NUnit tests from within Visual Studio 2010?

Is there an addon of some kind that will let me run and view results from inside Visual Studio? 是否有某种插件可以让我运行并查看Visual Studio内部的结果? I remember there was some sort of icon with a red rocket ship on it. 我记得有一种带有红色火箭飞船的图标。 Any suggestions? 有什么建议? Can't remember the name. 记不起名字了。

I don't want to use NUnit Gui if I can help it. 如果我能帮忙,我不想使用NUnit Gui。

Sounds like you're looking for TestDriven.Net . 听起来你正在寻找TestDriven.Net There are other alternative test runners to the NUnit GUI too, such as Resharper and Gallio . NUnit GUI还有其他替代测试运行器,例如ResharperGallio

TestDriven.NET is the tool you are using. TestDriven.NET是您正在使用的工具。 There are alternatives though. 但也有其他选择。 I've recently started using NCrunch, as it gives the same type of functionality as TestDriven, plus it gives continuous testing, which I've found really useful. 我最近开始使用NCrunch,因为它提供了与TestDriven相同类型的功能,而且它提供了连续测试,我发现它非常有用。

作为TestDriven.Net的替代品,CodeRush或Resharper等产品中始终存在测试运行器。

Resharper has a test runner. Resharper有一名测试运动员。 As a bonus you get a load of refactoring possibilities that makes you wonder how you programmed before Resharper... And no, this is not an ad, I am just a big supporter :-) 作为奖励,你会得到一大堆重构的可能性让你想知道你在Resharper之前的编程......而且,不,这不是广告,我只是一个大支持者:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM