--test-concurrency
测试运行器 CLI 将同时执行的测试文件的最大数量。如果 --test-isolation
设置为 'none'
,则忽略此标志,并发性为 1。否则,并发默认为 os.availableParallelism() - 1
。
¥The maximum number of test files that the test runner CLI will execute
concurrently. If --test-isolation
is set to 'none'
, this flag is ignored and
concurrency is one. Otherwise, concurrency defaults to
os.availableParallelism() - 1
.