Skip to content

Configure coverage testing profile #237106

@firelizzard18

Description

@firelizzard18

The coverage testing profile should be configurable in the same manner as other kinds of testing profiles. From an outside perspective this seems like it should be a simple matter of adding a menu to the coverage run button.

Image

Rationale: When I execute go test there's a -coverpkg flag I can pass to control the scope of what code gets instrumented for coverage. In some cases it's natural to show coverage for the entire project, where in other cases it's natural to show coverage only for a single package.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtestingBuilt-in testing support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions