Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1471)

Side by Side Diff: infra/.coveragerc

Issue 1917383002: test.py: compute coverage per top-level module. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments, and more polishing Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine_module/.coveragerc ('k') | infra_libs/.coveragerc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [run] 1 [run]
2 include = ./* 2 include = ./infra/*
3 omit = 3 omit =
4 # Virtual environment with third_party packages.
5 ./ENV/*
6
7 # Add chromium_build, which wasn't test.py-enabled for a long time.
8 ./appengine/chromium_build/*
9
10 # Add monorail's third-party packages and worst offenders
11 ./appengine/monorail/third_party/*
12 ./appengine/monorail/testing/*
13
14 # Appengine third_party packages, committed into the repo as is.
15 ./appengine/third_party/*
16
17 # Luci code added via DEPS.
18 ./luci/*
19
20 # Antibody third_party files 4 # Antibody third_party files
21 ./infra/tools/antibody/static/third_party/* 5 ./infra/tools/antibody/static/third_party/*
22 6
23 [report] 7 [report]
24 exclude_lines = 8 exclude_lines =
25 # Have to re-enable the standard pragma 9 # Have to re-enable the standard pragma
26 pragma: no cover 10 pragma: no cover
27 11
28 # Don't complain about missing debug-only code: 12 # Don't complain about missing debug-only code:
29 def __repr__ 13 def __repr__
30 if self\.debug 14 if self\.debug
31 15
32 # Don't complain if tests don't hit defensive assertion code: 16 # Don't complain if tests don't hit defensive assertion code:
33 raise AssertionError 17 raise AssertionError
34 raise NotImplementedError 18 raise NotImplementedError
35 19
36 # Don't complain if non-runnable code isn't run: 20 # Don't complain if non-runnable code isn't run:
37 if 0: 21 if 0:
38 if __name__ == ['"]__main__['"]: 22 if __name__ == ['"]__main__['"]:
39 23
40 [expect_tests] 24 [expect_tests]
41 expected_coverage_min = 92 25 expected_coverage_min = 100
OLDNEW
« no previous file with comments | « appengine_module/.coveragerc ('k') | infra_libs/.coveragerc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698