Comments (5)
I would not consider this to be an accidental side effect, the directory structure seems to be more mature now. The executable is now also properly installed and reachable in $PATH
, so if you only need to run this on the command line you can just do this now:
$ pip install lcov_cobertura
$ lcov_cobertura ....
from lcov-to-cobertura-xml.
Yes, that's true. I first noticed the change because of breaking CI pipelines ;)
from lcov-to-cobertura-xml.
Thanks, that helps of course. Whether intentional or not, I would still consider it a regression. After all, both of these methods can be implemented to achieve backwards compatibility (e.g. by providing __main__.py
).
from lcov-to-cobertura-xml.
Yes, you cannot import a package name, and in this case you get exactly the same behavior if you try importing the module name:
python -m lcov_cobertura.lcov_cobertura
Converts LCOV coverage data to Cobertura-compatible XML for reporting.
Usage:
lcov_cobertura.py lcov-file.dat
lcov_cobertura.py lcov-file.dat -b src/dir -e test.lib -o path/out.xml
By default, XML output will be written to ./coverage.xml
from lcov-to-cobertura-xml.
Fixed by a077651 and released in version 2.0.2 https://pypi.org/project/lcov-cobertura/2.0.2/
from lcov-to-cobertura-xml.
Related Issues (20)
- Index Out Of bounds HOT 4
- Conditionals and method coverage always shows 0/0 HOT 5
- Pip install and running command results command not found HOT 2
- Python 3 error with --demangle HOT 1
- Discrepancy with genhtml HOT 1
- Needs a release HOT 2
- Missing function & statement metrics HOT 2
- Segmentation fault HOT 2
- Hangs in python3 with --demangle HOT 4
- Cannot import name 'LcovCobertura' from 'lcov_cobertura' (unknown location) HOT 6
- gitlab-ci can't read .xml file, which is conversion by lcov-to-cobertura-xml HOT 3
- Support multiple lcov files as input HOT 1
- Add parameter to set maximum file file size (and split the output)
- distutils.spawn is deprecated, gonna be removed HOT 2
- Minidom giving memory error
- How to use lcov_cobertura file from a LICENSE perspective?
- duplicate matches in `--excludes` will lead to errors
- Sonarqube report version 1
- some problems using it from command line HOT 1
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 lcov-to-cobertura-xml.