pytest-snob
pytest-snob is a pytest plugin that leverages the snob library (see https://github.com/alexpasmantier/snob) to filter
tests to execute in a given application based on the contents of a range of commits
Rationale
Most of the time, running your full test suite is a waste of time and resources, since only a portion of the files has changed since your last CI run / deploy.
By leveraging snob, this pytest plugin will accurately determine which tests are relevant for a given changeset and only run those.
How does it work?
snob is a rust library (which we produce a python package from using Maturin / Py03)
that efficiently parses the dependency graph of your python codebase and as such, can accurately determine which files are impacted by your changes.
For more information, see the snob github repository
Metadata
Release files for pytest-snob 0.1.14
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_snob-0.1.14.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_snob-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / pytest_snob-0.1.14.tar.gz
| Download URL | pytest_snob-0.1.14.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
728202184da2c563314f3ecc6c005a1f9b0927a6e7813d7a8ab860d251e4853c
|
|
BLAKE2b-256 checksum How to use checksums |
79bd5449f179500a87c7b2a7bfe86483e197b0a680e19edaa53c31fb57c5e26a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / pytest_snob-0.1.14-py3-none-any.whl
| Download URL | pytest_snob-0.1.14-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdc59341b3e5ec36238099766abdf8c2747b3943c67b81f64dba8da75fcc57f4
|
|
BLAKE2b-256 checksum How to use checksums |
0102d92e5a366adc0f9ed2d8ccb8a978419e780267f1928489792930e433bb7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|