Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Easy to use fixtures to write regression tests.

Project description

PyPI version Python versions status

Fixtures to write regression tests.


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.


  • pytest>=3.5
  • Python 3.6+.


You can install “pytest-regressions” via pip from PyPI:

$ pip install pytest-regressions


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.


Distributed under the terms of the MIT license, “pytest-regressions” is free and open source software


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-regressions, version 2.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pytest_regressions-2.2.0-py3-none-any.whl (18.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-regressions-2.2.0.tar.gz (98.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page