s0undt3ch / coveragepy

Code coverage measurement for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage.py

Code coverage testing for Python.

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 many versions of Python:

  • CPython 2.7.
  • CPython 3.5 through 3.10 alpha.
  • PyPy2 7.3.1 and PyPy3 7.3.1.

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

New in 5.x: SQLite data storage, JSON report, contexts, relative filenames, dropped support for Python 2.6, 3.3 and 3.4.

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

See the Quick Start section of the docs.

Change history

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

Contributing

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.

About

Code coverage measurement for Python

License:Apache License 2.0


Languages

Language:Python 79.0%Language:HTML 10.2%Language:JavaScript 3.6%Language:C 3.4%Language:CSS 2.0%Language:SCSS 1.1%Language:Makefile 0.5%Language:Shell 0.1%