Skip to main content

Easily spot regressions in your tests.

Project description

pytest-results

CI PyPI 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.4.3.tar.gz (8.9 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.4.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_results-0.4.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for pytest_results-0.4.3.tar.gz
Algorithm Hash digest
SHA256 7abe6283eeddf279f44655ccd17a7363c7d9ff81ce600c3606e231706c75e27d
MD5 090bc27bca4f7158bd6c60aa4cd1b9d5
BLAKE2b-256 d64d5272b038c2836247d1b657bb99bbdc31b35d1ecf9b00bf1eef7c939cd32a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_results-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3a1555bf88fea227e9ad5d6fca0dc5bd9cfc5435b1e18ce179b2d3af100b09
MD5 0a7ce5d9fa5b8413eb9890898d968151
BLAKE2b-256 acc353f940ac59f838178b95df76d117db9471eecc59830a48381bdf03d194b9

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