Fixtures to write regression tests.
Features
This plugin makes it simple to test general data, images, files, and numeric tables by saving expected data in a data directory (courtesy of pytest-datadir) that can be used to verify that future runs produce the same data.
See the docs for examples and API usage.
Requirements
pytest>=3.5
Python 3.6+.
Installation
You can install “pytest-regressions” via pip from PyPI:
$ pip install pytest-regressions
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, “pytest-regressions” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
Release files for pytest-regressions 2.5.0
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-regressions-2.5.0.tar.gz | 113.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_regressions-2.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 137.5 kB
Release files / pytest-regressions-2.5.0.tar.gz
| Download URL | pytest-regressions-2.5.0.tar.gz |
|---|---|
| Size | 113.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818c7884c1cff3babf89eebb02cbc27b307856b1985427c24d52cb812a106fd9
|
|
BLAKE2b-256 checksum How to use checksums |
33c62b6088711d0a9d87b82a7e6ac84c6cb59aab3bf37778bb25645590a5729c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / pytest_regressions-2.5.0-py3-none-any.whl
| Download URL | pytest_regressions-2.5.0-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c4e5c4037325fdb0825bc1fdcb75e17e03adf3407049f0cb704bb996d496255
|
|
BLAKE2b-256 checksum How to use checksums |
0c93086651842707118284e93387355efc5cbbce28bace9265b450d67be55fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|