Category "pytest-xdist"

Pytest: run teardown once for all workers using pytest-xdist

I have a pytest fixture that I need to run only once across all pytest workers. @pytest.fixture(scope="session") @shared # this will call setup once for all pr

Pytest live logging with parallel execution - possible?

I have a test suite that I run with python3 -mpytest --log-cli-level=DEBUG ... on the build server. The live logs are useful to troubleshoot if the tests get s

How to execute pytest paralelly through xdist plugin?

How can I run my pytests parallely on multiple custom environments ? I have pytest-xdist as well. Not sure if this plugin helps test_test.py @pytest.mark.env(