-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
17 lines (12 loc) · 800 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is a tool to read coverage and figleaf data and report on it.
However, unlike those tools, coverage-reporter provides the ability to munge the
data on the way to reporting as desired.
For example, you can specify that you wish to only see the coverage for your
current patch by specifying:
git diff | coverage-reporter --patch=stdin --patch-level=0 --summarize --annotate .
This will take the patch from git, read it and then only provide coverage
information on those lines affected by your patch.
Another useful command is --minimum-missing=100 - if you have a large number of
covered files, this will limit the display to only those missing more than 100
lines of coverage. Also useful is --minimum-missing=1, which doesn't print any
status for those files that are completely covered.