Code Monkey home page Code Monkey logo

Comments (8)

woozyking avatar woozyking commented on July 17, 2024

I may have answered my own question by using this boilerplate https://gist.github.com/ssokolow/5496286

from coveralls-python.

coagulant avatar coagulant commented on July 17, 2024

I'm glad you've figured out how to work around this bug. I've not tested nose or py.test coverage plugins, I guess they behave slightly differently than simple coverage.py, that's why the difference. I'll keep this open until I find decent solution or document this workaround in docs.

from coveralls-python.

woozyking avatar woozyking commented on July 17, 2024

Could you confirm that how coveralls works is to pick up the generated .coverage report and parse it into readable report?

from coveralls-python.

coagulant avatar coagulant commented on July 17, 2024

Nope, it generates custom report based on .coverage data + source files.

from coveralls-python.

woozyking avatar woozyking commented on July 17, 2024

Ah I see. Does coveralls fully respect .coveragerc config file? If not then that might explain the behavior.

from coveralls-python.

coagulant avatar coagulant commented on July 17, 2024

Should coveralls know anything about .coveragerc? I think it's enough coverage.py itself takes this file into account when generating .coverage file. However, the [report] section is ignored most definatley, as I'm using custom reported... I'll look inot that, thnx.

from coveralls-python.

woozyking avatar woozyking commented on July 17, 2024

I believe that by parsing .coveragerc, especially by looking at both [run] and [report] sections of inclusion/exclusion patterns, coveralls would save a lot of time going through the unintended source files, hence improves on submission size/time and makes the overall experience as compatible to local coverage.py behavior as possible without digging too much into py.test and/or nose coverage plugin's behavior.

from coveralls-python.

coagulant avatar coagulant commented on July 17, 2024

Turns out, I was not correct in my previous comments. Coveralls does honor .coveragerc config. It's nose, which does not (at least, for source options). I've documented your workaround, thnx.

from coveralls-python.

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.