File: api_coverage.rst

package info (click to toggle)
python-coverage 4.5.2%2Bdfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,524 kB
  • sloc: python: 17,968; ansic: 1,212; makefile: 182; sh: 133; xml: 42
file content (25 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. 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
------------------

.. :history: 20150802T174800, new file for 4.0b1

.. module:: coverage

.. autoclass:: 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:: process_startup