1. Ned Batchelder
  2. coverage.py
  3. Issues
Issue #101 new

Settings under [report] affect running

Geoff Bache
created an issue

In my coveragerc file, it looks like I can do something like this: {{{

[run] source = /path/to/dir1,/path/to/dir2

[report] include = /path/to/dir1/*

}}} but this doesn't seem to work, as the include setting from [report] is applied also when running, causing everything under dir2 to be discarded.

Looking in the code in config.py, both "include" and "omit" populate the same variable, irrespective of whether they are found in a [run] or [report] section.

If separate settings are allowed, they should surely behave differently.

Comments (1)

  1. Log in to comment