Skip to main content
PyPI version https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg Python versions See Build Status on Travis CI See Build Status on AppVeyor https://img.shields.io/readthedocs/pytest-regressions.svg https://img.shields.io/badge/code%20style-black-000000.svg

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 2.7 and Python 3.5+.

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 1.0.2

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 1.0.2
File Size Uploaded
pytest-regressions-1.0.2.tar.gz 79.5 kB Details

Built distribution (wheel)

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

Total release size: 95.4 kB

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

Download URL pytest-regressions-1.0.2.tar.gz
Size 79.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b38ed7d014ff4ac740d4b4af6cecf3461e6cb5a21efa204c10643cb96c58026
BLAKE2b-256 checksum
How to use checksums
adf04100b2848ecd6d0cd28a498b582aa4aa33c2d7dfa86b4f49d43ba76caac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

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

Download URL pytest_regressions-1.0.2-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95f8cfd6f6eb8ceb4ed3a75d6753b5a7852d1bc317c76a36aa1668614fab336c
BLAKE2b-256 checksum
How to use checksums
c56ec1c7ab3c50a7c0b6b9aabf0ca0def939f9d2fc739a1eb10763ed94329803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

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

2.5.0

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

This release

1.0.2 This release

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