diff-cover man page

diff-cover ā€” manual page for diff-cover 2.4.1

Description

usage: diff-cover [-h] [--html-report FILENAME] [--external-css-file FILENAME]

[--compare-branch BRANCH] [--fail-under SCORE] [--ignore-staged] [--ignore-unstaged] [--exclude EXCLUDE [EXCLUDE ...]] [--src-roots DIRECTORY [DIRECTORY ...]] [--diff-range-notation RANGE_NOTATION] [--version] coverage_xml [coverage_xml ...]

Automatically find diff lines that need test coverage.

positional arguments

coverage_xml

XML coverage report

optional arguments

-h, --help

show this help message and exit

--html-report FILENAME

Diff coverage HTML output

--external-css-file FILENAME

Write CSS into an external file

--compare-branch BRANCH

Branch to compare

--fail-under SCORE

Returns an error code if coverage or quality score is below this value

--ignore-staged

Ignores staged changes

--ignore-unstaged

Ignores unstaged changes

--exclude EXCLUDE [EXCLUDE ...]

Exclude files, more patterns supported

--src-roots DIRECTORY [DIRECTORY ...]

List of source directories (only for jacoco coverage reports)

--diff-range-notation RANGE_NOTATION

Git diff range notation to use when comparing branches, defaults to '...'

--version

show program's version number and exit

Info

November 2019 diff-cover 2.4.1