Code coverage measurement for Python

Edit Package python-coverage
http://pypi.python.org/coverage

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.

Refresh
Refresh
Source Files
Filename Size Changed
coverage-6.5.0.tar.gz 0000775224 757 KB
python-coverage.changes 0000045041 44 KB
python-coverage.spec 0000004067 3.97 KB
Revision 49 (latest revision is 62)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1007714 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 49)
- update to 6.5.0:
  - The JSON report now includes details of which branches were taken, and which
    are missing for each file. Thanks, Christoph Blessing (`pull 1438`_). Closes
    `issue 1425`_.
  - Starting with coverage.py 6.2, ``class`` statements were marked as a branch.
    This wasn't right, and has been reverted, fixing `issue 1449`_. Note this
    will very slightly reduce your coverage total if you are measuring branch
    coverage.
  - Packaging is now compliant with `PEP 517`_, closing `issue 1395`_.
  - A new debug option ``--debug=pathmap`` shows details of the remapping of
    paths that happens during combine due to the ``[paths]`` setting.
  - Fix an internal problem with caching of invalid Python parsing. Found by
    OSS-Fuzz, fixing their `bug 50381`_.
  .. _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
  .. _PEP 517: https://peps.python.org/pep-0517/
  .. _issue 1395: https://github.com/nedbat/coveragepy/issues/1395
  .. _issue 1425: https://github.com/nedbat/coveragepy/issues/1425
  .. _pull 1438: https://github.com/nedbat/coveragepy/pull/1438
  .. _issue 1449: https://github.com/nedbat/coveragepy/issues/1449
Comments 0
openSUSE Build Service is sponsored by