1DIFF-COVER(1) User Commands DIFF-COVER(1)
2
3
4
6 diff-cover - manual page for diff-cover 1.0.7
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 ...]] coverage_xml [cover‐
15 age_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
53
54diff-cover 1.0.7 April 2019 DIFF-COVER(1)