https://github.com/rixx/coverageroulette
Cover those LOC, pronto.
https://github.com/rixx/coverageroulette
coverage python tests
Last synced: 8 months ago
JSON representation
Cover those LOC, pronto.
- Host: GitHub
- URL: https://github.com/rixx/coverageroulette
- Owner: rixx
- Created: 2017-05-21T12:53:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-21T12:58:04.000Z (about 9 years ago)
- Last Synced: 2025-03-02T17:22:39.779Z (over 1 year ago)
- Topics: coverage, python, tests
- Language: Python
- Size: 1.95 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
coverate roulette
-----------------
Do you know the handy coverage.py_? It's a useful tool to measure the test coverage of your python
program! It supports CPython and PyPy for Python2 and Python3, and integrates with pytest, aswell!
Now, have you ever looked at a long list of uncovered source code lines and despaired? Despair no
more! Execute `shoot.py` on an xml coverage report to receive a random uncovered line of code.
Now go write (good) tests!
Usage::
> coverage xml
> shoot.py coverage.xml
Write a test covering line 127 in file "foo/bar/baz/cookie.py"!
.. _coverage.py: https://coverage.readthedocs.io/en/coverage-4.4.1/