Skip to content

Include code that runs in runpytest_subprocess in coverage #7679

@bluetech

Description

@bluetech

In #7651 we had some code which is only covered by a subprocess test and is somewhat hard to cover inprocess.

It seems that the code running in the subprocess is not covered. @nicoddemus mentioned that some coverage configuration is needed to get this to work: https://coverage.readthedocs.io/en/stable/subprocess.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: selftestsa problem in the tests of pytest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions