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
Hashes for pytest_blame-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7a73b1cbd48b5adfcf5de338e7a3ea161b8f8b27724b0579b9f8ed0684cebf |
|
MD5 | 83760deeeb0a057c8e3f39b4111159d3 |
|
BLAKE2b-256 | 5d18c1c04c560557762bd8ccb79fd5a9c661b962eb7f5d27646186fb2fd28963 |