A pytest plugin helps developers to debug by providing useful commits history.
Project description
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.
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
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 Distributions
File details
Details for the file pytest-blame-0.1.4.tar.gz
.
File metadata
- Download URL: pytest-blame-0.1.4.tar.gz
- Upload date:
- Size: 4.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ee1b918c1609025aa188fff887ebc550beb778ff0868f67fc5544b5f67bae9 |
|
MD5 | 24a4abd4766e6f2617cfd62434e23923 |
|
BLAKE2b-256 | dda02c726055844f3d9ccf607557beb95dbee3ab51fabc2f61d5dd768c8f44d8 |
File details
Details for the file pytest_blame-0.1.4-py3.6.egg
.
File metadata
- Download URL: pytest_blame-0.1.4-py3.6.egg
- Upload date:
- Size: 6.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c21761e27f571fcb0dda7f0117cf7a3a190199be1a0b9e5ce3218874a6c73d2 |
|
MD5 | b939a10e9998f2a9b8cf3a16eaf4199c |
|
BLAKE2b-256 | 720e06e78badbeab2aae358e5e1a52f7f1fe699b68d6e62ccd8981a629b5a415 |
File details
Details for the file pytest_blame-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: pytest_blame-0.1.4-py3-none-any.whl
- Upload date:
- Size: 18.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7a73b1cbd48b5adfcf5de338e7a3ea161b8f8b27724b0579b9f8ed0684cebf |
|
MD5 | 83760deeeb0a057c8e3f39b4111159d3 |
|
BLAKE2b-256 | 5d18c1c04c560557762bd8ccb79fd5a9c661b962eb7f5d27646186fb2fd28963 |