-
-
Notifications
You must be signed in to change notification settings - Fork 478
Settings under [report] affect running #101
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Originally reported by Geoff Bache (Bitbucket: geoffbache, GitHub: Unknown)
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working