Skip to main content

pytest-results

CI PyPI - Version PyPI - Downloads Ruff

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)

Source distribution for pytest-results 0.5.1
File Size Uploaded
pytest_results-0.5.1.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-results 0.5.1
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.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