Skip to main content

Easily spot regressions in your tests.

Project description

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

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_results-0.5.1.tar.gz (9.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_results-0.5.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pytest_results-0.5.1.tar.gz.

File metadata

  • Download URL: pytest_results-0.5.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pytest_results-0.5.1.tar.gz
Algorithm Hash digest
SHA256 12a18d89626e8e2de12b8d192730b3f857aa78e1285de0d6e782f42e629928d3
MD5 f558c2b9477ad33ee72a6cfc479b9eba
BLAKE2b-256 25ce1be5010aa4028a1211162bd7c57463d2ce08edcfb90165f824b18b191251

See more details on using hashes here.

File details

Details for the file pytest_results-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pytest_results-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pytest_results-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fca4495c57eebad8bb383552f956c09d1b1d122e4db769a92e7db48acb3ddd51
MD5 52e4dfb7972dbb73762a9551414adab0
BLAKE2b-256 b7445c213ac966f7d746d7370d51de9c53b7ec807ecbb170ba66abf159c7c6f2

See more details on using hashes here.

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