/
Depends on
- dh-python (dh-sequence-python3)
- matplotlib (python3-matplotlib)
- numpy (python3-numpy)
- pytest (python3-pytest)
- pytest-datadir (python3-pytest-datadir)
- python3-defaults (python3-all)
- pyyaml (python3-yaml)
- setuptools (python3-setuptools)
- setuptools-scm (python3-setuptools-scm)
- sphinx (python3-sphinx)
- sphinx-rtd-theme (python3-sphinx-rtd-theme)
- debhelper-compat, python3-pandas, python3-pil
README (full)
pytest-regressions
:target: https://pypi.org/project/pytest-regressions :alt: PyPI version
:target: https://anaconda.org/conda-forge/pytest-regressions
:target: https://pypi.org/project/pytest-regressions :alt: Python versions
:target: https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild
:target: https://pytest-regressions.readthedocs.io/en/latest
:target: https://github.com/ambv/black
:target: https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master :alt: pre-commit.ci status
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.5Python 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.
| dir | debian/ |
| dir | doc/ |
| dir | src/ |
| dir | tests/ |
| file | .pre-commit-config.yaml |
| file | CHANGELOG.rst |
| file | HOWTORELEASE.rst |
| file | LICENSE |
| file | README.rst |
| file | mypy.ini |
| file | setup.py |
| file | tox.ini |