![]() | Ned Batchelder : Blog | Code | Text | Site Coverage API » Home : Code : coverage.py |
Created 24 May 2009, last updated 21 February 2010 The API to coverage.py is very simple, contained in a single module called coverage. Most of the interface is in a single class, also called coverage. Methods on the coverage object correspond to operations available in the command line interface. For example, a simple use would be: import coverage The coverage module
Starting coverage automaticallyThis function is used to start coverage measurement automatically when Python starts. See Measuring subprocesses for details.
« Previous: Configuration files Next: Excluding code from coverage » | |