Easy to use fixtures to write regression tests.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-regressions-2.4.1.tar.gz
.
File metadata
- Download URL: pytest-regressions-2.4.1.tar.gz
- Upload date:
- Size: 110.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264d23e8132deeb57441cf466b7b5db445797f346e72b672c95b7f52a47bf01b |
|
MD5 | 2e82a7d4701656b2fc35f8d08069543f |
|
BLAKE2b-256 | 3dd1783d629dd5fd56ed92b50ade44111d19b30be34ae395a50897fb6671469d |
File details
Details for the file pytest_regressions-2.4.1-py3-none-any.whl
.
File metadata
- Download URL: pytest_regressions-2.4.1-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c7cab5f431d1b21d0e351d0828b988c7f3e6b11e4ad6b61a8eae001873b56e |
|
MD5 | 5937bffe96f1a87465a70a2a58319d2c |
|
BLAKE2b-256 | 9e0781519dff00aa7f47aa26bc9b1a7799ae2a967121513226254ff1d1870288 |