|
| 1 | +================================== |
1 | 2 | Django Template Coverage.py Plugin
|
2 | 3 | ==================================
|
3 | 4 |
|
4 | 5 | A `coverage.py`_ plugin to measure the coverage of Django templates.
|
5 | 6 |
|
| 7 | +| |license| |versions| |status| |
| 8 | +| |kit| |downloads| |
| 9 | +
|
6 | 10 | Supported Python versions are 2.7 and 3.4. Supported Django versions are 1.4
|
7 | 11 | through 1.8.
|
8 | 12 |
|
9 | 13 | The plugin itself is pip installable::
|
10 | 14 |
|
11 | 15 | $ pip install django_coverage_plugin
|
12 | 16 |
|
13 |
| -To run it, add this setting to your .coveragerc:: |
| 17 | +To run it, add this setting to your .coveragerc file:: |
14 | 18 |
|
15 | 19 | [run]
|
16 | 20 | plugins =
|
17 | 21 | django_coverage_plugin
|
18 | 22 |
|
19 |
| -Then run your tests under coverage.py. It requires the coverage.py 4.x, so |
20 |
| -it may not work with other coverage-related tools such as test-runner coverage |
21 |
| -plugins. |
| 23 | +Then run your tests under coverage.py. It requires coverage.py 4.0. |
22 | 24 |
|
23 | 25 | You will see your templates listed in your coverage report along with your
|
24 | 26 | Python modules.
|
@@ -70,3 +72,20 @@ To run the tests::
|
70 | 72 |
|
71 | 73 | .. _coverage.py: http://nedbatchelder.com/code/coverage
|
72 | 74 | .. _dtcov: https://github.com/traff/dtcov
|
| 75 | + |
| 76 | + |
| 77 | +.. |license| image:: https://img.shields.io/pypi/l/django_coverage_plugin.svg |
| 78 | + :target: https://pypi.python.org/pypi/django_coverage_plugin |
| 79 | + :alt: License |
| 80 | +.. |versions| image:: https://img.shields.io/pypi/pyversions/django_coverage_plugin.svg |
| 81 | + :target: https://pypi.python.org/pypi/django_coverage_plugin |
| 82 | + :alt: Python versions supported |
| 83 | +.. |status| image:: https://img.shields.io/pypi/status/django_coverage_plugin.svg |
| 84 | + :target: https://pypi.python.org/pypi/django_coverage_plugin |
| 85 | + :alt: Package stability |
| 86 | +.. |kit| image:: https://badge.fury.io/py/django_coverage_plugin.svg |
| 87 | + :target: https://pypi.python.org/pypi/django_coverage_plugin |
| 88 | + :alt: PyPI status |
| 89 | +.. |downloads| image:: https://img.shields.io/pypi/dm/django_coverage_plugin.svg |
| 90 | + :target: https://pypi.python.org/pypi/django_coverage_plugin |
| 91 | + :alt: Monthly PyPI downloads |
0 commit comments