pytest plugin should detect if pytest-xdist is installed and decide whether to use it based on how many tests are executed #22521
Labels
area-testing
feature-request
Request for new features or functionality
needs community feedback
Awaiting community feedback
my PC has 12 cores, and i have the pytest-xdist plugin configured to automatically decide how many workers to use:
this significantly speeds up pytest when i run all my tests, but when running an individual test, it's much slower because it starts up 12 workers (and also has to connect the debugger to each of them if running in debug mode) just to run a single test.
it would be nice if the vscode extension could automatically specify a
-n
argument to pytest-xdist based on how many tests are being run at a timeThe text was updated successfully, but these errors were encountered: