[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
vitest docs config maxconcurrency.md
541 B


title: maxConcurrency | Config outline: deep #

maxConcurrency #

  • Type: number
  • Default: 5
  • CLI: --max-concurrency=10, --maxConcurrency=10

The maximum number of tests and hooks that can run at the same time when using test.concurrent or describe.concurrent.

The hook execution order within a single group is also controlled by sequence.hooks. With sequence.hooks: 'parallel', the execution is bounded by the same limit of maxConcurrency.