Skip to content

[FEATURE] Support native VS Code code coverage display #1186

Closed
@eliasm307

Description

@eliasm307

Is your feature request related to a problem? Please describe.

VS Code has some native support for showing code coverage ie https://code.visualstudio.com/docs/editor/testing#_test-coverage which allows coverage to be shown:

  • in test explorer
  • or inline
  • or the file explorer

Currently it seems this extension has a custom implementation for showing coverage inline and with an overlay, but the native functionality would be useful also, especially the file explorer coverage which makes it easier to see overall coverage of files/folders etc

Describe the solution you'd like

Coverage used by the extension should also be exposed via the native VS Code coverage functionality.

Describe alternatives you've considered

N/A

Additional context

Examples of the native code coverage views:

In test explorer:

image

In file explorer (with coverage per file and folder):

image

VS Code API for test coverage: https://code.visualstudio.com/api/extension-guides/testing#test-coverage

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions