![]() | Ned Batchelder : Blog | Code | Text | Site Coverage API » Home : Code : coverage.py |
Created 24 May 2009, last updated 11 November 2012 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 roughly 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: Measuring subprocesses Next: Contributing to coverage.py » | |