Skip to main content

Additional tools for Python coverage

Project description

This package is a collection of command line tools for coverage to produce verbose reports and/or stats measurements of your test coverage.

Available tools include:

  • coverage-annotate - prints the source code and prefixes each line with + or - depending on wheather it was executed during testing or not;

  • coverage-combine - combines several .coverage data files into one;

  • coverage-diff - compares the annotated sources from two coverage data files to highlight the difference in test coverage between them;

Installation

Use pip to install from PyPI:

pip install coverage-tools

Changelog

Version 0.0.3

  • New options for coverage-annotate

    • -N - show line numbers

    • -i - list of files to include in the report

    • -e - list of files to exclude from the report

–include and –exclude support shell globs. If none is specified all files in the coverage data file are shown. The include list is evaluated first, then the exclude list is evaluated.

  • New options for coverage-diff

    • -N - show line numbers

    • -i - list of files to include in the report

    • -e - list of files to exclude from the report

The same limitations apply to all options.

  • New tool coverage-combine which supports shell globs.

Version 0.0.2

  • First release on PyPI

Contributing

Source code and issue tracker are at https://github.com/atodorov/coverage-tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coverage-tools-0.0.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file coverage-tools-0.0.3.tar.gz.

File metadata

File hashes

Hashes for coverage-tools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 01fe320da09f2efe09efe6e275a53be77f142189af3842c1a100f65ee5dea6b4
MD5 ea86840e02fd8c983e659f4a2ca638fa
BLAKE2b-256 6c2f36eb0d5914bea84457d61de966f838ed9476185a074762993834d0fc68df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page