Skip to main content

Show/check coverage only for changed files (between any git branches)

Project description

Coverage-diff

Show / check coverage only for changed files

Example

Show coverage for all changed files (except deleted & renamed) between current branch and master with numbers of missing lines.

coverage-diff HEAD master --show-missing

Options

usage: main.py [-h] [--diff-filter DIFFS] [--include-regexp REGEXP]
               [--full-branches BRANCH] [--show-missing] [--show-missing-full]
               [branch1] [branch2]

Show coverage only for changed files

positional arguments:
  branch1               first branch for git diff (default: HEAD)
  branch2               second branch for git diff (default: origin/master)

optional arguments:
  -h, --help            show this help message and exit
  --diff-filter DIFFS   diff types for include files for coverage (more info
                        at git diff's --diff-filter option) (default: dr)
  --include-regexp REGEXP
                        filter changed files by regexp (default: \.py$)
  --full-branches BRANCH
                        show full coverage for specified branches (delimited
                        by comma) (default: master)
  --show-missing, -m    show missed lines for changed files (default: False)
  --show-missing-full, -mf
                        show missed lines for --full-branches (default: False)

Project details


Download files

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

Files for coverage-diff, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size coverage_diff-0.0.3-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size coverage-diff-0.0.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page