Skip to main content

Easy to use fixtures to write regression tests.

Project description

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.

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


Download files

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

Source Distribution

pytest_regressions-2.11.0.tar.gz (117.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_regressions-2.11.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest_regressions-2.11.0.tar.gz.

File metadata

  • Download URL: pytest_regressions-2.11.0.tar.gz
  • Upload date:
  • Size: 117.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pytest_regressions-2.11.0.tar.gz
Algorithm Hash digest
SHA256 d4a86092f979eb25d2403c51b2b61039781c4c7c7a364a56b9fa838872a650f7
MD5 8eba3a19d9d18a3458d6842c514bef5c
BLAKE2b-256 ba0f1d6b8cc851596be52c401af53fd0d844e72921b0b11866b88995673cd320

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_regressions-2.11.0.tar.gz:

Publisher: deploy.yml on ESSS/pytest-regressions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_regressions-2.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_regressions-2.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb2bbcfb2fda256624d434c88cb1e4003667b7e078ee4084887cf839bbdf831
MD5 1409ff60b57129ad0b2d09483bbbd0bc
BLAKE2b-256 9761fe772eda66bb8e2ee72da2937382aa4f803ca1e41092ca8d59953e96262c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_regressions-2.11.0-py3-none-any.whl:

Publisher: deploy.yml on ESSS/pytest-regressions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page