ConsoleUnitTestsRunner (Console parallel nunit tests runner) 是一个小工具,用来在控制台上并行的运行 nunit 测试用例,并给出运行报告。
命令行参数:
-p=N - specify process count, by default N = cpu cores count -clone - clone unit tests folder, by default false -copyMasks=a;b - file masks to copy, by default =.dll;.config -sync - enable sync for unit tests, by default false -dirToCloneTests=path - folder to clone tests, by default %temp% -commandBeforeTestsRun=exePath - command to run before execute tests, but after it clone , by default empty -startDelay=N - delay before test starts, by default 0 -prefetch - use test run time statistic to optimize tests separation, by default false -teamcity - teamcity inteagration: will show test progress, by default false NUnit compatible arguments: /include=a1;a2 - include only tests with specified categories /exclude=a1;a2 - exclude all tests with specified categories /xml=path path for xml report, by default empty /output:path path for tests output, by default empty /labels Label each test in stdOut, by default false /noshadow Do nothing (for now) /nologo Do not display the logo, by default false /help Display this page /wait wait for input key after at the end, by default false /timeout /nothread.