Skip to content

feat: view test coverage in editor #18147

@KnorpelSenf

Description

@KnorpelSenf

Deno

  • can run tests.
  • can generate test coverage reports.
  • has an an editor integration (LSP).

It would be amazing if VSCode would display the test coverage right inside the editor.

The line coverage results are very useful when writing tests because they let me easily see which case are covered by tests and which ones are not. However, every time I add a test to cover some more code, I need to run deno test and deno coverage and then reload my browser window.

I am aware that there are third-party tools that should be able to consume the LCOV output and do this, but I would prefer if it would “just work” without any additional configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featnew feature (which has been agreed to/accepted)lsprelated to the language servertestingrelated to deno test and coverage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions