Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rixx/coverageroulette
Cover those LOC, pronto.
https://github.com/rixx/coverageroulette
coverage python tests
Last synced: 6 days ago
JSON representation
Cover those LOC, pronto.
- Host: GitHub
- URL: https://github.com/rixx/coverageroulette
- Owner: rixx
- Created: 2017-05-21T12:53:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-21T12:58:04.000Z (over 7 years ago)
- Last Synced: 2024-11-09T18:44:25.293Z (2 months 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/