Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 18:51
· 4 commits to main since this release

Changed

  • test and check run the suite in parallel by default. The
    pytest-xdist run that needed --fast (-n auto -p no:cacheprovider) is
    now what a bare tempest-cli test does; --serial opts out (for
    --lf / --ff, or a debugger), and --workers tunes the default
    without a flag. Measured on a FastAPI service suite of 1136 tests on a
    12-CPU machine: 262 s serially, 37.6 s in parallel, same outcome.
  • Without pytest-xdist the default degrades instead of failing. When
    the environment pytest runs in cannot import it, a bare test / check
    prints a one-line notice naming the install command and runs the suite
    serially (exit code is pytest's); an explicit --fast keeps the old
    behavior — the fix is printed and the exit code is 127, nothing runs.
    run_pytest / run_full_check take require_xdist= (default True,
    the old library behavior) to pick between the two.
  • --workers with --serial is a usage error (exit 2), as --workers
    without --fast used to be.