From cba5899f0bad8a49b17750df58ddd532975c1062 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 9 Aug 2009 18:12:23 -0400 Subject: Fix a problem with DecoratorTools fiddling with the trace function and screwing us up. Now the Python trace function is simpler, with no variability of registered trace function. Fixes bugs #12 and #13. --- doc/cmd.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/cmd.rst b/doc/cmd.rst index 2f8ec170..ae7282f8 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -57,6 +57,12 @@ Arguments after your file name are passed to your program in sys.argv. By default, coverage does not measure code installed with the Python interpreter. If you want to measure that code as well as your own, add the -L flag. +If your coverage results seems to be overlooking code that you know has been +executed, try running coverage again with the --timid flag. This uses a simpler +but slower trace method. Projects that use DecoratorTools, including TurboGears, +will need to use --timid to get correct results. This option can also be set +with the environment variable COVERAGE_OPTIONS set to '--timid'. + Combining data files -------------------- -- cgit v1.2.1