Giter VIP home page Giter VIP logo

Comments (5)

egfx-notifications avatar egfx-notifications commented on July 20, 2024 1

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.

egfx-notifications avatar egfx-notifications commented on July 20, 2024 1

Yes, that's true. I first noticed the change because of breaking CI pipelines ;)

from lcov-to-cobertura-xml.

dokempf avatar dokempf commented on July 20, 2024

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.

sarnold avatar sarnold commented on July 20, 2024

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.

eriwen avatar eriwen commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.