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.

Support cobertura xml format with npm cobertura-parse

See original GitHub issue

Hi @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:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
ryanlukercommented, Oct 15, 2017

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.

1reaction
ryanlukercommented, Oct 22, 2017

@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.

221017-1

Read more comments on GitHub >

github_iconTop 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 >

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