question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display coverage percentage next to files in the file explorer

See original GitHub issue

When opening a coverage report, e.g. from nyc, I first get an overview of coverage for files and folders. It would be nice to see this percentage next to the files in the file explorer (if that is even possible).

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:9
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
tenninebtcommented, May 13, 2020

For the ones who want to have a solution in the mean time, I’ve created an extension that adds a TreeView to the Test Explorer, it is pretty basic, and in experimental state (Not unit tested, not published…) but I’m using it within a Flutter project. I needed an easy way to visualise my coverage and navigate it. Please be indulgent as it is my first extension and written as a draft.

https://github.com/tenninebt/vscode-koverage

3reactions
ryanlukercommented, May 13, 2020

@tenninebt thanks for bringing your extension up! looks cool for a first stab at extension building 😁. I also need to convert this project to webpack eventually as well so it was good to see how you implemented that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code coverage testing - Visual Studio (Windows)
Code coverage option is available under the Test menu when you run test methods using Test Explorer. The results table shows the percentage...
Read more >
coverprofile excluding untested files from coverage percentage
The coverage percentage seems to only related to the only tested file - not the entire codebase under example . For instance: $...
Read more >
Reviewing code coverage reports and dashboards - IBM
On the top row of the Build Analysis view that appears, you can see the summary of the entire build: code coverage percentage,...
Read more >
Read the coverage report | IntelliJ IDEA Documentation
The Project tool window displays the percentage of the covered classes and ... The Code Coverage tool windows appears right after you run...
Read more >
Configuring Jest to show code coverage for all of your files
The second approach would be by way of a Jest configuration file. Edit the file jest.config.js in the root of your project and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found