13 |
13 |
14 Coverage.py measures code coverage, typically during test execution. It uses |
14 Coverage.py measures code coverage, typically during test execution. It uses |
15 the code analysis tools and tracing hooks provided in the Python standard |
15 the code analysis tools and tracing hooks provided in the Python standard |
16 library to determine which lines are executable, and which have been executed. |
16 library to determine which lines are executable, and which have been executed. |
17 |
17 |
18 Coverage.py runs on CPython 2.6, 2.7, 3.3, 3.4 or 3.5, PyPy 2.6, and PyPy3 2.4. |
18 Coverage.py runs on CPython 2.6, 2.7, and 3.3 through 3.6; PyPy 4.0 and 5.1; |
|
19 and PyPy3 2.4. |
19 |
20 |
20 Documentation is on `Read the Docs <http://coverage.readthedocs.org>`_. |
21 Documentation is on `Read the Docs <http://coverage.readthedocs.io>`_. |
21 Code repository and issue tracker are on `Bitbucket <http://bitbucket.org/ned/coveragepy>`_, |
22 Code repository and issue tracker are on `Bitbucket <http://bitbucket.org/ned/coveragepy>`_, |
22 with a mirrored repository on `GitHub <https://github.com/nedbat/coveragepy>`_. |
23 with a mirrored repository on `GitHub <https://github.com/nedbat/coveragepy>`_. |
23 |
24 |
24 **New in 4.0:** ``--concurrency``, plugins for non-Python files, setup.cfg |
25 **New in 4.1:** much-improved branch coverage. |
|
26 |
|
27 New in 4.0: ``--concurrency``, plugins for non-Python files, setup.cfg |
25 support, --skip-covered, HTML filtering, and more than 50 issues closed. |
28 support, --skip-covered, HTML filtering, and more than 50 issues closed. |
26 |
29 |
27 |
30 |
28 Quick Start |
31 Getting Started |
29 ----------- |
32 --------------- |
30 |
33 |
31 See the `quick start <http://coverage.readthedocs.org/#quick-start>`_ |
34 See the `quick start <http://coverage.readthedocs.io/#quick-start>`_ |
32 section of the docs. |
35 section of the docs. |
33 |
36 |
34 |
37 |
35 License |
38 License |
36 ------- |
39 ------- |
44 :alt: Build status |
47 :alt: Build status |
45 .. |win-ci-status| image:: https://ci.appveyor.com/api/projects/status/bitbucket/ned/coveragepy?svg=true |
48 .. |win-ci-status| image:: https://ci.appveyor.com/api/projects/status/bitbucket/ned/coveragepy?svg=true |
46 :target: https://ci.appveyor.com/project/nedbat/coveragepy |
49 :target: https://ci.appveyor.com/project/nedbat/coveragepy |
47 :alt: Windows build status |
50 :alt: Windows build status |
48 .. |docs| image:: https://readthedocs.org/projects/coverage/badge/?version=latest&style=flat |
51 .. |docs| image:: https://readthedocs.org/projects/coverage/badge/?version=latest&style=flat |
49 :target: http://coverage.readthedocs.org |
52 :target: http://coverage.readthedocs.io |
50 :alt: Documentation |
53 :alt: Documentation |
51 .. |reqs| image:: https://requires.io/github/nedbat/coveragepy/requirements.svg?branch=master |
54 .. |reqs| image:: https://requires.io/github/nedbat/coveragepy/requirements.svg?branch=master |
52 :target: https://requires.io/github/nedbat/coveragepy/requirements/?branch=master |
55 :target: https://requires.io/github/nedbat/coveragepy/requirements/?branch=master |
53 :alt: Requirements status |
56 :alt: Requirements status |
54 .. |kit| image:: https://badge.fury.io/py/coverage.svg |
57 .. |kit| image:: https://badge.fury.io/py/coverage.svg |
55 :target: https://pypi.python.org/pypi/coverage |
58 :target: https://pypi.python.org/pypi/coverage |
56 :alt: PyPI status |
59 :alt: PyPI status |
57 .. |format| image:: https://img.shields.io/pypi/format/coverage.svg |
60 .. |format| image:: https://img.shields.io/pypi/format/coverage.svg |
58 :target: https://pypi.python.org/pypi/coverage |
61 :target: https://pypi.python.org/pypi/coverage |
59 :alt: Kit format |
62 :alt: Kit format |
60 .. |downloads| image:: https://img.shields.io/pypi/dd/coverage.svg |
63 .. |downloads| image:: https://img.shields.io/pypi/dw/coverage.svg |
61 :target: https://pypi.python.org/pypi/coverage |
64 :target: https://pypi.python.org/pypi/coverage |
62 :alt: Daily PyPI downloads |
65 :alt: Weekly PyPI downloads |
63 .. |versions| image:: https://img.shields.io/pypi/pyversions/coverage.svg |
66 .. |versions| image:: https://img.shields.io/pypi/pyversions/coverage.svg |
64 :target: https://pypi.python.org/pypi/coverage |
67 :target: https://pypi.python.org/pypi/coverage |
65 :alt: Python versions supported |
68 :alt: Python versions supported |
66 .. |status| image:: https://img.shields.io/pypi/status/coverage.svg |
69 .. |status| image:: https://img.shields.io/pypi/status/coverage.svg |
67 :target: https://pypi.python.org/pypi/coverage |
70 :target: https://pypi.python.org/pypi/coverage |