3 ms·
My one complaint about nox is the last time I used it you couldn’t run tests in parallel which while not a blocker is somewhat annoying.
by thenipper 4y ago
My one complaint about nox is the last time I used it you couldn’t run tests in parallel which while not a blocker is somewhat annoying.
- jw_cook 4y agoLooks like there's a discussion about running sessions in parallel here: https://github.com/wntrblm/nox/issues/544 https://github.com/wntrblm/nox/issues/544 I also think that would be a good addition, although most of the time I would probably still prefer to run sessions in serial, and parallelize tests within each session using pytest-xdist. That gives you fairly fine-grained control over how tests are distributed among workers, grouped either by test function, class, module, file, or arbitrary groups using a decorator: https://pytest-xdist.readthedocs.io/en/latest/distribution.html https://pytest-xdist.readthedocs.io/en/latest/distribution.h...