rix0rrr / cover2cover Goto Github PK
View Code? Open in Web Editor NEWConvert JaCoCo coverage reports to Cobertura coverage reports
License: MIT License
Convert JaCoCo coverage reports to Cobertura coverage reports
License: MIT License
Hi, thanks for this nice conversion script! I found a small error running it under python3:
File "cover2cover.py", line 147
print '<?xml version="1.0" ?>'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('<?xml version="1.0" ?>')?
Any way to fix that? python2 works fine.
I'm currently trying to convert my jacoco.xml report to a cobertura.xml so I can then convert it to Clover for Bamboo (CI tool). However, Jacoco reports that we have code coverage of 37%, but when we run the conversions Clover reports 0%. We have verified that our conversion tool from Cobertura to Clover works fine, so our assumption is that Jacoco to Cobertura is not translating correctly.
I noticed that changes to this repo haven't been made in over 2 years, so I was wondering if the cover2cover.py script still works for Jacoco v.0.8.3 (most current version)?
As described in craigatk/projektor#360, I've got a setup that is emitting Cobertura XML and a destination for the data that requires Jacoco XML. cover2cover seems to have contained some of this knowledge but there's not much AST modeling going on, just an element-wise transfer.
It'd be cool if cover2cover could convert these formats to each other, even if it might be lossy.
Please update your script so that it becomes compatible with python 2.6.x
it's generating a xml between b' and ' such as this :
<?xml version="1.0" ?>
b'<coverage ... </coverage>'
instead of :
<?xml version="1.0" ?>
<coverage ... </coverage>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.