You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported byGeoff 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.
Originally reported by Geoff Bache (Bitbucket: geoffbache, GitHub: Unknown)
In my coveragerc file, it looks like I can do something like this:
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.
The text was updated successfully, but these errors were encountered: