Enforce rule that first path in [paths] must exist, and choose paths based on that. · Issue #757 · nedbat/coveragepy (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
The [paths]
docs say:
The first value must be an actual file path on the machine where the reporting will happen, so that source code can be found.
But there is no immediate error if the first value is not a path. The existence of the path should be confirmed.
Further: if there are two [paths]
sections, and a file path matches two of them, the one whose first entry exists should be chosen.