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

Unified Diff: appengine/ts_mon_test/.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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/trooper_o_matic/.coveragerc ('k') | appengine_module/.coveragerc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/ts_mon_test/.coveragerc
diff --git a/appengine/ts_mon_test/.coveragerc b/appengine/ts_mon_test/.coveragerc
new file mode 100644
index 0000000000000000000000000000000000000000..c25a3d6bc01fc80448f9bc2a653762c3271597e6
--- /dev/null
+++ b/appengine/ts_mon_test/.coveragerc
@@ -0,0 +1,22 @@
+[run]
+include = ./appengine/ts_mon_test/*
+
+[report]
+exclude_lines =
+ # Have to re-enable the standard pragma
+ pragma: no cover
+
+ # Don't complain about missing debug-only code:
+ def __repr__
+ if self\.debug
+
+ # Don't complain if tests don't hit defensive assertion code:
+ raise AssertionError
+ raise NotImplementedError
+
+ # Don't complain if non-runnable code isn't run:
+ if 0:
+ if __name__ == ['"]__main__['"]:
+
+[expect_tests]
+expected_coverage_min = 100
« no previous file with comments | « appengine/trooper_o_matic/.coveragerc ('k') | appengine_module/.coveragerc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698