Easy to use fixtures to write regression tests.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest_regressions-2.7.0.tar.gz
.
File metadata
- Download URL: pytest_regressions-2.7.0.tar.gz
- Upload date:
- Size: 116.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c30064e0923929012c94f5d6f35205be06fd8709c7f0dba0228e05c460af05e |
|
MD5 | af3e931f1d51520e0396a15cacb78f0b |
|
BLAKE2b-256 | 07402e233d49a86e2ba88325bcfdcad77fa56b05ba7ca61b58bc0212330e560a |
Provenance
The following attestation bundles were made for pytest_regressions-2.7.0.tar.gz
:
Publisher:
deploy.yml
on ESSS/pytest-regressions
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pytest_regressions-2.7.0.tar.gz
- Subject digest:
4c30064e0923929012c94f5d6f35205be06fd8709c7f0dba0228e05c460af05e
- Sigstore transparency entry: 161335838
- Sigstore integration time:
- Permalink:
ESSS/pytest-regressions@5c8db30fad4dd2f890690ef1c193b905dfdd5a3e
- Branch / Tag:
refs/heads/release-2.7.0
- Owner: https://github.com/ESSS
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
deploy.yml@5c8db30fad4dd2f890690ef1c193b905dfdd5a3e
- Trigger Event:
workflow_dispatch
- Statement type:
File details
Details for the file pytest_regressions-2.7.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_regressions-2.7.0-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f5e3f03493cf0ef84d96d23e50a546617c198b1d7746f2e2b9e441cbab4847 |
|
MD5 | b5c5d1b459c5476e8659c4721ee1a10c |
|
BLAKE2b-256 | 6d833eaf30c06a1cf8bb58b1e5dba0345d1c747b720e889cbae81750c7659e9f |
Provenance
The following attestation bundles were made for pytest_regressions-2.7.0-py3-none-any.whl
:
Publisher:
deploy.yml
on ESSS/pytest-regressions
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pytest_regressions-2.7.0-py3-none-any.whl
- Subject digest:
69f5e3f03493cf0ef84d96d23e50a546617c198b1d7746f2e2b9e441cbab4847
- Sigstore transparency entry: 161335839
- Sigstore integration time:
- Permalink:
ESSS/pytest-regressions@5c8db30fad4dd2f890690ef1c193b905dfdd5a3e
- Branch / Tag:
refs/heads/release-2.7.0
- Owner: https://github.com/ESSS
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
deploy.yml@5c8db30fad4dd2f890690ef1c193b905dfdd5a3e
- Trigger Event:
workflow_dispatch
- Statement type: