Nunit是否有免费的Visual Studio插件? [英] Is there a free Visual Studio addin for Nunit?

查看:89
本文介绍了Nunit是否有免费的Visual Studio插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很便宜,不想为ReSharper或TestDriven.NET付费,是否有NUnit的免费Visual Studio插件?

I'm cheap and don't want to pay for ReSharper or TestDriven.NET, is there a free visual Studio addin for NUnit?

推荐答案

您可以创建一个空白项目(例如,选择控制台应用程序),然后在项目的属性中选择DEBUG标记并选择启动外部程序".放Nunit的路径.然后,在开始选项中,命令行参数选择包含所有测试的DLL(我的始终在nunit \ bin ...中).然后选择启用非托管代码调试",您将能够在VS中启动项目,甚至可以逐步使用调试器.

You can create a blank project (Choose console application for example) and in the property of the project you can select DEBUG tag and select "Start External Program". Put the path of Nunit. Then, in the start option, the command line arguments select the DLL that contains all your tests (mine is always in the nunit\bin...). Then select "enable unmanaged code debugging" and you will be able to start the project inside VS and even use the debugger step-by-step.

这是一个免费的解决方案.

This is a free solution.

这篇关于Nunit是否有免费的Visual Studio插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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