pytest-results
Easily spot regressions in your tests.
Pytest plugin for writing non-regression tests.
Installation
⚠️ Requires Python 3.12 or higher
pip install pytest-results
Quick start
First, return the value where you want to check the regression:
def test_function():
return {"hello": "world"}
All results are stored in JSON files at the root of your project in the
__pytest_results__ folder.
In case of regression, to open the interactive comparison, add the --ide parameter
to Pytest with the name of your IDE:
pytest --ide vscode
At present, the IDEs supported are cursor, pycharm and vscode.
Resources
Metadata
Release files for pytest-results 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_results-0.5.1.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_results-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / pytest_results-0.5.1.tar.gz
| Download URL | pytest_results-0.5.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12a18d89626e8e2de12b8d192730b3f857aa78e1285de0d6e782f42e629928d3
|
|
BLAKE2b-256 checksum How to use checksums |
25ce1be5010aa4028a1211162bd7c57463d2ce08edcfb90165f824b18b191251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pytest_results-0.5.1-py3-none-any.whl
| Download URL | pytest_results-0.5.1-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fca4495c57eebad8bb383552f956c09d1b1d122e4db769a92e7db48acb3ddd51
|
|
BLAKE2b-256 checksum How to use checksums |
b7445c213ac966f7d746d7370d51de9c53b7ec807ecbb170ba66abf159c7c6f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|