Giter Club home page Giter Club logo

Comments (5)

vladimir-v-diaz avatar vladimir-v-diaz commented on May 24, 2024

I believe this is the goal of the system tests Konstantin is currently working on. It appears they are proving useful, as they are indeed hitting code paths that would have been trickier to catch otherwise. The new tuf-pypi mirror will also help tremendously in this aspect. Hopefully we could put in some solid testing now.

I think our tests have been thorough enough so far. They are still in the process of being implemented, but once they are complete we can go back and address any issues that may still exist.

from python-tuf.

trishankkarthik avatar trishankkarthik commented on May 24, 2024

Agreed. I also meant that we should use tools like Ned Batchelder's coverage, which will give us a precise way of measuring exactly how much code is "covered".

I learned about things like these from the Rails people: they have some good practices, such as code coverage, integration tests and test-driven development.

from python-tuf.

trishankkarthik avatar trishankkarthik commented on May 24, 2024

While we are it, we should also look at nose.

from python-tuf.

trishankkarthik avatar trishankkarthik commented on May 24, 2024

Finally, at some point, it would be sweet to automatically run nose tests (with the coverage.py plugin) with Travis every time we commit to GitHub.

The pip folks do this continuous integration.

from python-tuf.

vladimir-v-diaz avatar vladimir-v-diaz commented on May 24, 2024

The Update Framework now uses Coverage (including branch coverage), Travis, and Tox.

from python-tuf.

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.