You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bruno Oliveira 00b2571972
Merge pull request #94 from ESSS/pre-commit-ci-update-config
3 weeks ago
.github/workflows [ci] add python 3.10 and drop unsupported 3.6 on windows 3 months ago
doc [docs] treat warnings as errors 3 months ago
src/pytest_regressions Merge pull request #85 from ESSS/issue-84-fix-nan 4 months ago
tests Merge pull request #85 from ESSS/issue-84-fix-nan 4 months ago
.gitignore Add linting environment and job 4 years ago
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 3 weeks ago
CHANGELOG.rst Merge pull request #85 from ESSS/issue-84-fix-nan 4 months ago
HOWTORELEASE.rst Finalize migration to GH actions and prepare 2.1.1 1 year ago
LICENSE Add overview docs and example test 4 years ago
README.rst Add pre-commit.ci badge 1 year ago
setup.py Add reorder-python-imports pre-commit hook (#78) 5 months ago
tox.ini [ci] add python 3.10 and drop unsupported 3.6 on windows 3 months ago

README.rst

pytest-regressions

PyPI version

image

Python versions

image

image

image

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.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.