Skip to content

Allow to change coverage data file location in settings #24741

@andreihes

Description

@andreihes

I have a need to override a coverage data file location in python project. So I use:

[run]
data_file = .data/coverage.data

or similar in .coveragerc. Once changed then VS Code is not able to render TEST COVERAGE anywhere on the UI.

It would be nice to see some setting like:

"python.testing.coverageFile": "${workspaceFolder}/.data/coverage.data"

to set it on demand instead of default .coverage one.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions