summaryrefslogtreecommitdiff
path: root/doc/api_coverage.rst
blob: 69b64c3b4561bc19757b02f5fa1cfa24201858f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt

.. _api_coverage:

The Coverage class
------------------

.. autoclass:: coverage.Coverage
    :members:
    :exclude-members: use_cache, sys_info
    :special-members: __init__


Starting coverage.py automatically
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This function is used to start coverage measurement automatically when Python
starts.  See :ref:`subprocess` for details.

.. autofunction:: coverage.process_startup