cwacek / cobertura-clover-transform Goto Github PK
View Code? Open in Web Editor NEWTools for transforming Cobertura test coverage XML into Clover-style XML
License: MIT License
Tools for transforming Cobertura test coverage XML into Clover-style XML
License: MIT License
python -m cobertura_clover_transform.converter <xml_file>
fails with:
Error while finding spec for 'cobertura_clover_transform.converter' (<class 'ImportError'>: No module named 'converter')
The line "from converter import convert" in cobertura_clover_transform__init__.py causes running as a module to break. Removing it fixes the problem.
$ python -V
Python 3.5.2+
$ cobertura-clover-transform cobertura.xml
b'<coverage generated ....snip...>\n'
So the problem is that on Python3 the xml document (which is a bytes) object is passed to print and comes out in repr form.
As I can see current version in PyPi isn't compatible with Python3.
Am I right? Do you have plans to support Python3?
I've installed it and now I get this error:
$ cobertura-clover-transform /Users/htribus/bamboo-agent-home/xml-data/build-dir/STIOS-CON-JOB1/target/reports/coverage/cobertura.xml Traceback (most recent call last): File "/usr/local/bin/cobertura-clover-transform", line 9, in <module> load_entry_point('cobertura-clover-transform==1.1.4.post1', 'console_scripts', 'cobertura-clover-transform')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 357, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2394, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2108, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named cobertura_clover_transform.converter
Have you seen that already?
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.