pytest-xdist
pytest-xdist copied to clipboard
pytest plugin for distributed testing and loop-on-failures testing modes.
With the upgrade of pytest-xdist from 2.5.0 to 3.x.y we observed that running individual tests by specifying them on the command line does not work anymore. Consider the following folder...
I found that when `pytest-xdist` is tested with `pytest-console-scripts` or `pytest-checkdocs` or `pytest-randomly` installed and disabled using `-p no:XXX` set in `PYTEST_ADDOPTS` environment variable then the testing fails: ``` =============================...
For some cases, we might want the setup of the test to run only once, even when something is multi processed, for example: We write our end-to-end tests in python...
Is there any way to suppress this output at the start of `pytest -n auto`? `-q` has no output. ``` [gw0] darwin Python 3.9.17 cwd: /some/path [gw1] darwin Python 3.9.17...
I have case where test is failing and in the report we get "worker 'gw0' crashed while running 'test_invalid_data]" On my screen I do the reason like below: ``` Fatal...
I have a simple test with parametrization: ``` @pytest.mark.parametrize('product', testdata, ids=[repr(i) for i in testdata]) def test_add_new_product(appf_admin, product): with allure.step(f"Add product {product} in admin panel"): appf_admin.admin_panel.add_new_product(product) with allure.step(f"Get count of...
pytest with pytest-django is giving us errors tearing down databases since upgrading to pytest-xdist 1.26.1. This happens nearly 100% of the time, but very occasionally doesn't. I suspect that having...
I use `loadgroup`, `-n=8` and add mark `xdist_group("groupname")`. Can I just collect tests by workers? I want to see how pytest-xdist distribute tests by group.
I am trying to run a subset of tests with `pytest` of which many require an internet connection, to install packages from `pip`. I have verified the test suite passes,...
Hi, I have a number of fixtures that sometimes can take a bit of time to finish both setting up and tearing down, I keep seeing inconsistencies in the teardown...