A pytest plugin helps developers to debug by providing useful commits history.
Project description
# pytest-blame
![logo](.github/temp-blame-icon.jpg “alt-text”)
[![Build Status](https://api.travis-ci.com/inTestiGator/pytest-blame.svg?branch=master)]( https://travis-ci.com/inTestiGator/pytest-blame) [![codecov.io](http://codecov.io/github/inTestiGator/pytest-blame/coverage.svg?branch=master)]( http://codecov.io/github/inTestiGator/pytest-blame?branch=master) [![made-with-python](http://img.shields.io/badge/Made%20with-Python-blue.svg)]( https://www.python.org/) [![gitter-join-chat](https://badges.gitter.im/Join%20Chat.svg)]( https://gitter.im/pytest-blame/community)
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.
## 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 Distribution
Hashes for pytest_blame-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30600ee2c3db3b03bacbf449512e6ea24a34fdf8cbe6b813616f0376ee69f888 |
|
MD5 | eb842e90138e1ade6e7a62e596cfebb9 |
|
BLAKE2b-256 | 037cd5d3c086d3b8bd40be45ae945b8e2e56314a24c7268e47255a8123a54e9c |