1DIFF-COVER(1) User Commands DIFF-COVER(1)
2
3
4
6 diff-cover - manual page for diff-cover 3.0.0
7
9 usage: diff-cover [-h] [--html-report FILENAME | --json-report FILE‐
10 NAME]
11
12 [--external-css-file FILENAME] [--compare-branch BRANCH]
13 [--fail-under SCORE] [--ignore-staged] [--ignore-unstaged]
14 [--exclude EXCLUDE [EXCLUDE ...]] [--src-roots DIRECTORY
15 [DIRECTORY ...]] [--diff-range-notation RANGE_NOTATION] [--ver‐
16 sion] coverage_xml [coverage_xml ...]
17
18 Automatically find diff lines that need test coverage.
19
20 positional arguments:
21 coverage_xml
22 XML coverage report
23
24 optional arguments:
25 -h, --help
26 show this help message and exit
27
28 --html-report FILENAME
29 Diff coverage HTML output
30
31 --json-report FILENAME
32 Diff coverage JSON output
33
34 --external-css-file FILENAME
35 Write CSS into an external file
36
37 --compare-branch BRANCH
38 Branch to compare
39
40 --fail-under SCORE
41 Returns an error code if coverage or quality score is below this
42 value
43
44 --ignore-staged
45 Ignores staged changes
46
47 --ignore-unstaged
48 Ignores unstaged changes
49
50 --exclude EXCLUDE [EXCLUDE ...]
51 Exclude files, more patterns supported
52
53 --src-roots DIRECTORY [DIRECTORY ...]
54 List of source directories (only for jacoco coverage reports)
55
56 --diff-range-notation RANGE_NOTATION
57 Git diff range notation to use when comparing branches, defaults
58 to '...'
59
60 --version
61 show program's version number and exit
62
63
64
65diff-cover 3.0.0 July 2020 DIFF-COVER(1)