[TIP] How to stop coverage from visiting /usr/local when running pytes?
Laurens Van Houtven
_ at lvh.io
Sun May 26 05:13:09 PDT 2013
My projects tend to have a .coveragerc file like this:
branch = True
pragma: no cover
Alternatively, all of those can be specified on the command line. You
probably want the --source argument to coverage run. You can get help for
coverage run by typing "coverage help run". Also take a look at the
--include/--omit flags :)
For a runnable example, look at: https://github.com/lvh/exponent
Specifically, .coveragerc and tox.ini.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python