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