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
Hashes for pytest_regressions-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2657e7fa9a66fe0e2620481248933162d5fe8f6532887cef64bba0c9be31ac3 |
|
MD5 | 66ca848999d81476ede467de6ff7e809 |
|
BLAKE2b-256 | b326e9d367488762066943dd2cc9fe1623073e27e2a2f4c247bbf398fc7774f5 |