开发者

Run NUnit tests automatically from command line

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开发者_StackOverflow社区 same time they're loaded?


Specify /run on the command line.



Help Syntax

NUNIT-GUI [inputfile] [options]

Runs a set of NUnit tests from the console. You may specify an assembly or a project file of type .nunit as input.

Options: /fixture=STR Fixture to test

/include=STR List of categories to include

/exclude=STR List of categories to exclude

/config=STR Project configuration to load

/noload Suppress loading of last project

/run Automatically run the loaded project

/runselected Automatically run selected tests or all tests if none are selected

/console Create console display for viewing any unmanaged output

/lang=STR Language to use for the NUnit GUI

/cleanup Erase any leftover cache files and exit

/help Display help (Short format: /?)

Options that take values may use an equal sign, a colon

or a space to separate the option from its value.

OK

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜