`source` settings in `.coveragerc` has no effect in `nose`

Issue #112 invalid
Ram Rachum created an issue

I have a .coveragerc file with this part:

{{{ source = garlicsim garlicsim_lib garlicsim_wx }}}

But unless I use nose with --cover-package=garlicsim,garlicsim_lib,garlicsim_wx, it measures the coverage of various stdlib packages in addition to my modules.

I know the .coveragerc is being picked up, because I have branch = True there and nose is doing branch-coverage.

Comments (1)

  1. Ned Batchelder repo owner

    This is because of the nose coverage plugin. It creates its own list of packages to cover. I recommend running nose under coverage instead of coverage under nose.

  2. Log in to comment