Support cobertura xml format with npm cobertura-parse
See original GitHub issueHi @ryanluker
Do you think it would be easy to add cobertura support using https://www.npmjs.com/package/cobertura-parse which should be compatible with lcov-parse
?
I would like to use it with pytest
and python which does not support lcov
parser,
but i am sure other tools might benefit from this integration.
Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
cobertura - npm search
cobertura-parse ... Merges cobertura XML files ... Compares the cobertura.xml file with a diff patch and verify the coverage percentage for changed code....
Read more >Cobertura format code coverage report for React App on ...
xml in coverage folder. npm run test -- --coverage --ci --reporters=default --reporters=jest-junit --coverageReporters=cobertura.
Read more >Cobertura
Some facts. Cobertura 2.1.1. Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used...
Read more >Using Alternative Reporters - Istanbul
#cobertura. The following is generated at coverage/cobertura-coverage.xml : <?xml version="1.0 ...
Read more >Publish code coverage results v1 task - Microsoft Learn
Publish Cobertura or JaCoCo code coverage results from a build. ... The task supports popular coverage result formats such as Cobertura 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
hey @hendrics , thanks for submitting this issue and doing a bit of research into a solution! Looks definitely doable to add another adaptor to the lcov-parse then it would use xml or lcov based coverage based on which files were found. I will put this issue into the next release (1.2.0) and maybe tinkering with a solution today a bit.
@hendrics getting close to finishing this issue #97. There is a few bits though that will not work with the 1.2.0 release. For example the partial coverage relied on the branches section of the coverage report but the cobertura parse extension did not implement that specific piece of functionality. The html coverage reports, full line coverage support, file watching and multi coverage file selector will work though! Hoping to get a few more bits done early this week and have a mid week release.