Skip to content

Uncovered files from dirs without __init__.py are not reported #88

@blueyed

Description

@blueyed

It seems like files that are not imported/used are not reported as having 0% coverage.

It would be useful if all the files of the project would be in the coverage report - having a percentage of 0% in case they were not imported/used.

I could imagine that pytest-cov would have to hook into py.test's collection process for this, and then somehow make coverage aware of them - even if they are not imported during tests?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions