Skip to main content

A pytest plugin helps developers to debug by providing useful commits history.

Project description

logo
Build Status codecov.io made-with-python PyPI version gitter-join-chat

A pytest plugin that helps developers build successful test cases by providing them with GitHub commit information when their test cases fail.

Basic Features

After pytest-blame has been successfully installed run pytest with the --track flag and you will see a report containing GitHub information at the top of your pytest report. pytest-blame will display the number of test cases that passed in the latest commit to GitHub, so you can compare it with your current rate.

To run: As of now there isn’t a way to see the output in a standard way. To run you need to copy the contents of pytest_blame.py over to tests/conftest.py

cp pytest_blame.py tests/conftest.py

then running pytest --track tests/ to see the output of the plugin.

Sample PyPI page

Install the most recent version of this plugin with

pip install -i https://test.pypi.org/simple/ pytest-blame

Additional Features

Read commits on GitHub and print out information since the most recent commit that passed test case.

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-blame-0.1.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

pytest_blame-0.1.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file pytest-blame-0.1.2.tar.gz.

File metadata

  • Download URL: pytest-blame-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pytest-blame-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f18b1c3188352ff6ab93cbc6ed45d599c5b5aae370adda33296baa66e0dfe113
MD5 43d74ee0fb43ce28dfd508ab0021b3b6
BLAKE2b-256 38438c5709c57751734791486965edd48f4c78754f28d88201f66d5e3f0e5c0f

See more details on using hashes here.

File details

Details for the file pytest_blame-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pytest_blame-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pytest_blame-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04d6c6689eb9fe64f90d86989455580bd67e9a0dbb6030405e95e6c1b90124a7
MD5 645e871d54899aa4f073873858c90e56
BLAKE2b-256 eb665393008fc1308d575c93442416bc3f260a0063ce1d327d781f2aea0d7e87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page