summaryrefslogtreecommitdiff
path: root/howto.txt
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-23 21:39:54 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-23 21:39:54 -0500
commite7abaf77929c5f74e3535988a5953c7133263385 (patch)
tree1e8a1db565eaf66683520b9b55b70ced532ee5bc /howto.txt
parent964019e5df2943b69c4bb503269af2af4a9d1916 (diff)
downloadpython-coveragepy-e7abaf77929c5f74e3535988a5953c7133263385.tar.gz
A way to start coverage when Python starts, to help with measuring coverage in subprocesses.
Diffstat (limited to 'howto.txt')
-rw-r--r--howto.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/howto.txt b/howto.txt
index 9f93b8a..54c94a1 100644
--- a/howto.txt
+++ b/howto.txt
@@ -52,3 +52,8 @@
c:\ned\coverage\trunk\test\eggsrc\dist\covtestegg1-0.0.0-py2.5.egg
(or equivalent).
+
+- For complete coverage testing, in each Python installation, create a
+ "zzz_coverage_process_start.pth" containing::
+
+ import coverage; coverage.measure_process()