Code Monkey home page Code Monkey logo

coveragepy's Introduction

Coverage.py

Code coverage testing for Python.

Stand with Ukraine


 PyPI status License Python versions supported
 Test suite status Quality check status Documentation Coverage reports
 Tidelift Sponsor me on GitHub GitHub stars coveragepy on Mastodon nedbat on Mastodon

Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed.

Coverage.py runs on these versions of Python:

  • Python 3.8 through 3.12, and 3.13.0a3 and up.
  • PyPy3 versions 3.8 through 3.10.

Documentation is on Read the Docs. Code repository and issue tracker are on GitHub.

New in 7.x: experimental support for sys.monitoring; dropped support for Python 3.7; added Coverage.collect() context manager; improved data combining; [run] exclude_also setting; report --format=; type annotations.

New in 6.x: dropped support for Python 2.7, 3.5, and 3.6; write data on SIGTERM; added support for 3.10 match/case statements.

For Enterprise

Tidelift Available as part of the Tidelift Subscription. Coverage and thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. Learn more.

Getting Started

Looking to run coverage on your test suite? See the Quick Start section of the docs.

Change history

The complete history of changes is on the change history page.

Code of Conduct

Everyone participating in the coverage.py project is expected to treat other people with respect and to follow the guidelines articulated in the Python Community Code of Conduct.

Contributing

Found a bug? Want to help improve the code or documentation? See the Contributing section of the docs.

Security

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

License

Licensed under the Apache 2.0 License. For details, see NOTICE.txt.

coveragepy's People

Contributors

nedbat avatar dependabot[bot] avatar strichter avatar blueyed avatar ionelmc avatar dstanek avatar hugovk avatar jdufresne avatar brettcannon avatar andrewhoos avatar msabramo avatar ogrisel avatar clytwynec avatar mattboehm avatar xsleonard avatar hpk42 avatar pankajp avatar scop avatar graingert avatar webknjaz avatar simonw avatar kotlinisland avatar drmaciver avatar vsalvino avatar vaab avatar thijstriemstra avatar naveensrinivasan avatar mgorny avatar bachmann1234 avatar mariatta avatar

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.