Easily spot regressions in your tests.
Project description
pytest-results
Easily spot regressions in your tests.
The package lets you write 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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_results-0.4.0.tar.gz.
File metadata
- Download URL: pytest_results-0.4.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6fa49ef8ad085c808c30b1ddae7efb5e2c24f74f3fb2426b9e8e5a45f3ffdd
|
|
| MD5 |
e4b638341a7f27b75fcb538c477a6096
|
|
| BLAKE2b-256 |
c78a884ae1937026970012ef42c4ee3f56e6619800c6f0de80c673d4154c64e4
|
File details
Details for the file pytest_results-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pytest_results-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e10080c8e249daa09b4e291c55d28442c23b155edf7bc3082f555f9c34c8e4
|
|
| MD5 |
44cd25d614c705693b43d06c8ddf59a6
|
|
| BLAKE2b-256 |
3b0bf653577674a834799f7c57b9e09d9f7f2cf5a9b605051554187cc205c2b7
|