Comments (3)
@merc1031 Thanks for submitting a ticket!
At first glance, your understanding does look correct.
Are you able to provide the top of the file so that way we can see which coverage parser is being used?
https://github.com/ryanluker/vscode-coverage-gutters/blob/master/src/files/coveragefile.ts#L22-L38
My first thought is that it might be using a parser that doesn't support partial coverage (afaik only the lcov format provides that and the python xml folks have been using COBERTURA
).
from vscode-coverage-gutters.
I can confirm the same bug and that is quite sad considering that Python is the most popular language and that coveragepy xml output format did not change format, still cobertura based. What is strange is that I do remember that this extension worked with python at some point, so I am not sure where the support got broken.
If anyone knows a workaround, please let me know.
I should mention that I also tried coverage lcov
which produces a coverage.lcov
file but apparently this extension fails to detect the file as coverage too. Running out of ideas...
from vscode-coverage-gutters.
I can confirm the same bug and that is quite sad considering that Python is the most popular language and that coveragepy xml output format did not change format, still cobertura based. What is strange is that I do remember that this extension worked with python at some point, so I am not sure where the support got broken.
If anyone knows a workaround, please let me know.
I should mention that I also tried
coverage lcov
which produces acoverage.lcov
file but apparently this extension fails to detect the file as coverage too. Running out of ideas...
@ssbarnea Hmm sorry to hear the extension isn't working anymore for yeah, one other thing to try is adding the file specifically to the list of file names.
"coverage-gutters.coverageFileNames": {
"type": "array",
"default": [
"lcov.info",
"cov.xml",
"coverage.xml",
"jacoco.xml",
"coverage.cobertura.xml"
],
"description": "coverage file names for the extension to automatically look for"
},
There is also the option to specify a specific path to the file that might help as well.
"coverage-gutters.manualCoverageFilePaths": {
"type": "array",
"default": [],
"description": "take manual control over the absolute path to your coverage file(s). NOTE: this path must be the full absolute path, there is no support for the predefined path variables."
},
from vscode-coverage-gutters.
Related Issues (20)
- Extension settings do not have the scope property defined HOT 3
- refactoring if clause caused extension to crash HOT 3
- update CHANGELOG.md to make changes extension-visible
- Java example pom issues and failure in mvn install HOT 2
- Cannot seem to watch files outside of VS Code workspace directory HOT 2
- Improve visibility of covered lines HOT 4
- Add support for remote coverage files HOT 3
- Support coverage reports with multiple sources HOT 2
- behavior change suggestion/rfc: statusbar should report `Math.floor` instead of `Math.round` HOT 1
- `Illegal argument: line must be non-negative` when any `detail.line` is 0 HOT 1
- Where does the watcher look for the lcov.info file? HOT 2
- Coverage information fails to render when branch coverage is enabled HOT 1
- Update deploy automation action to use v1 of external action
- Cant read coverage data from cobertura-coverage.xml HOT 1
- Don't highlight tested lines HOT 4
- vsix packaging: drop unused folders HOT 1
- cobertura Status Bar Percentage Wrong with C# Workspace HOT 6
- Attempting to parse cobertura.xml fails after converting from visual studio .coverage binary. HOT 2
- settings: resolve configuration settings HOT 1
- [Documentation] Example Java Gradle Project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-coverage-gutters.