Skip to main content
PyPI version https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg Python versions https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg https://img.shields.io/readthedocs/pytest-regressions.svg https://img.shields.io/badge/code%20style-black-000000.svg 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.

Release files for pytest-regressions 2.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-regressions 2.5.0
File Size Uploaded
pytest-regressions-2.5.0.tar.gz 113.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-regressions 2.5.0
File Interpreter ABI Platform
pytest_regressions-2.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 137.5 kB

Release files / pytest-regressions-2.5.0.tar.gz

Download URL pytest-regressions-2.5.0.tar.gz
Size 113.6 kB
Tags Source
SHA-256 checksum
How to use checksums
818c7884c1cff3babf89eebb02cbc27b307856b1985427c24d52cb812a106fd9
BLAKE2b-256 checksum
How to use checksums
33c62b6088711d0a9d87b82a7e6ac84c6cb59aab3bf37778bb25645590a5729c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / pytest_regressions-2.5.0-py3-none-any.whl

Download URL pytest_regressions-2.5.0-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c4e5c4037325fdb0825bc1fdcb75e17e03adf3407049f0cb704bb996d496255
BLAKE2b-256 checksum
How to use checksums
0c93086651842707118284e93387355efc5cbbce28bace9265b450d67be55fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

2.11.0

2 release files

2.10.0

2 release files

2.9.1

2 release files

2.9.0

2 release files

2.8.3

2 release files

2.8.2

2 release files

2.8.1

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

This release

2.5.0 This release

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page