Code Monkey home page Code Monkey logo

Comments (6)

brainwane avatar brainwane commented on June 15, 2024

Trying to list out what "test everything" would mean:

Codecov says we're at 67.42% code coverage. Out of 574 tracked lines, we hit 387, partially hit 25, and miss 162. upload.py, for instance, has substantial untested code.

I think we don't have any doctests.

We have some tests running via Travis CI.

We could add PEP 484 annotations (#231).

from twine.

dstufft avatar dstufft commented on June 15, 2024

100% coverage or bust is my motto :P

from twine.

deveshks avatar deveshks commented on June 15, 2024

Hi @bhrutledge , @dstufft

Is this something I can take a stab at?

I started with twine/utils.py and was able to get 99% test coverage with it, from 96% . I will be happy to create a PR for the same, and then increase coverage for more files, with one file per PR.

Before

Name                           Stmts   Miss Branch BrPart  Cover   Missing
twine/utils.py                  98      4     40      2    96%   111->112, 112, 118-126, 172->177
------------------------------------------------------------------------
TOTAL                          829     70    241     35    88%

After

Name                           Stmts   Miss Branch BrPart  Cover   Missing
twine/utils.py                  98      0     40      1    99%   172->177
------------------------------------------------------------------------
TOTAL                           829     66    241     34    89%


from twine.

bhrutledge avatar bhrutledge commented on June 15, 2024

@deveshks Yes please! This is how I got started contributing to Twine, at last year's PyCon sprints: #458.

from twine.

deveshks avatar deveshks commented on June 15, 2024

@deveshks Yes please! This is how I got started contributing to Twine, at last year's PyCon sprints: #458.

Thanks, I have submitted the first PR towards the effort

from twine.

jaraco avatar jaraco commented on June 15, 2024

Coverage is now at 93%. That's satisfactory. Nicer would be to get to 100%, so ongoing contribution is welcomed.

from twine.

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.