pytest-xdist-tracker
This plugin allows us to keep artifact after running test with xdist (parallel)
Installation
pip install pytest-xdist-tracker
Using
For example, we use pytest-xdist for running tests in parallel and
we have a test that fails from time to time.
That definitely a flaky/coupled test that fails because
before were executed tests that keep after self some unexpected state for our failed test
pytest-xdist-tracker can help with that case
It stores artifact after execution like this one xdist_stats_worker_gw1.txt
where gw1 is number of xdist node
Then we can reproduce tests which were run in particular node where failure happened
pytest --from-xdist-stats=xdist_stats_worker_gw1.txt
It will collect tests as usual but will filter by our tests
note: this plugin works only with pytest-xdist
Metadata
Release files for pytest-xdist-tracker 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-xdist-tracker-0.0.2.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_xdist_tracker-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 15.7 kB
Release files / pytest-xdist-tracker-0.0.2.tar.gz
| Download URL | pytest-xdist-tracker-0.0.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c4c6a527a18b8a30cbce2536226d96f99f0507a619d6048ea3e813ec69f5d5c
|
|
BLAKE2b-256 checksum How to use checksums |
12f52387dcc1cea4ec6dd1d35b8b82f966b1680ffbe7ccd15732249f7264af5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|
Release files / pytest_xdist_tracker-0.0.2-py2.py3-none-any.whl
| Download URL | pytest_xdist_tracker-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e9416db25d19f63087a719e0facb43acbc2edf681d8e24bf4ac2c5dc83b298a1
|
|
BLAKE2b-256 checksum How to use checksums |
a05169df118996433fa5d05f8fdb2b060f0fd87294f90bb763d5fc515333d824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|