Display coverage percentage next to files in the file explorer
See original GitHub issueWhen 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:
- Created 5 years ago
- Reactions:9
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
@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.