![]() |
3 weeks ago | |
---|---|---|
.github/workflows | 3 months ago | |
doc | 3 months ago | |
src/pytest_regressions | 4 months ago | |
tests | 4 months ago | |
.gitignore | 4 years ago | |
.pre-commit-config.yaml | 3 weeks ago | |
CHANGELOG.rst | 4 months ago | |
HOWTORELEASE.rst | 1 year ago | |
LICENSE | 4 years ago | |
README.rst | 1 year ago | |
setup.py | 5 months ago | |
tox.ini | 3 months ago |
README.rst
pytest-regressions
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.