Skip to content

why "File Uncovered" for my tests_*.py inside tests/ folder?Β #492

@alanwilter

Description

@alanwilter

I use pyproject.toml and I have:

[tool.pytest.ini_options]
addopts = "tests --cov-branch --cov=src/pdfgen/ --cov=tests/ --cov-report=term-missing:skip-covered --cov-report=xml --dist=loadgroup -n 8 --durations=5"

When I run pytest on my vscode terminal, everything is fine, there's not even branches missing. But when I open a test_main.py file for example, Gutters reports File Uncovered, why? What am I missing?

FYI, openning src/pdfgen/main.py shows the gutters pretty fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions