[TIP] Getting Weird Coverage Reports

meme dough memedough at gmail.com
Tue Nov 29 03:57:36 PST 2011

> You can always start coverage as early as possible by using coverage to run
> the test runner, instead of having the test runner invoke coverage:
>    $ coverage run /path/to/py.test etc etc

This option is useful and works for many cases.

Be aware that you won't get automatic sub process coverage or
automatic distributed testing coverage.  The pytest-cov plugin makes
these out of the box.


More information about the testing-in-python mailing list