one*_*run 20 c# nunit unit-testing nunit-console nunit-3.0
我想从这样的控制台运行测试(在任何目录中,dll可以是不同的.NET版本):
$ nunit3-console test.dll
Run Code Online (Sandbox Code Playgroud)
我google了很多,但找不到如何设置这个.官方教程没有任何用处,完全为零,跟随它让我无处可去:https://github.com/nunit/docs/wiki/Installation
one*_*run 26
很难找到,因为有很多过时的文档,无论是NUnit2还是NUnit3.
脚步:
NUnit.Console-*.msi包并安装PATH变量:C:\Program Files (x86)\NUnit.org\nunit-console类型:
$ nunit3-console test.dll
//要并行运行多个测试程序集,请参阅: https ://stackoverflow.com/a/45486444/1453525