从命令行自动运行 NUnit 测试 [英] Run NUnit tests automatically from command line

查看:70
本文介绍了从命令行自动运行 NUnit 测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过将测试项目设置为启动 nunit 2.5.3 作为外部程序来从 Visual Studio 启动 NUnit gui.这将测试加载到 GUI 中,但我仍然必须手动单击运行按钮.是否有命令行参数可以让测试在加载的同时运行?

I'm launching the NUnit gui from visual studio by setting the test project to start start nunit 2.5.3 as an external program. That loads the tests into the GUI but I still have to manually click the run button. Is there a command line argument that will have the tests run at the same time they're loaded?

推荐答案

命令行.

Specify /run on the command line.

这篇关于从命令行自动运行 NUnit 测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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