Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add .coveragerc for test coverage reporting.

Closes #439.
  • Loading branch information...
commit 35139ff82cdb24bf9978269afe99e6ccff993631 1 parent 8b66863
@bdarnell bdarnell authored
Showing with 24 additions and 4 deletions.
  1. +18 −0 .coveragerc
  2. +6 −4 .gitignore
View
18 .coveragerc
@@ -0,0 +1,18 @@
+# Test coverage configuration.
+# Usage:
+# pip install coverage
+# coverage erase # clears previous data if any
+# coverage run -m tornado.test.runtests
+# coverage report # prints to stdout
+# coverage html # creates ./htmlcov/*.html including annotated source
+[run]
+branch = true
+source = tornado
+omit =
+ tornado/platform/*
+ tornado/test/*
+ */_auto2to3*
+
+[report]
+# Ignore missing source files, i.e. fake template-generated "files"
+ignore_errors = true
View
10 .gitignore
@@ -1,10 +1,12 @@
*.pyc
*.so
*~
-build
-dist/
+build/
+/dist/
MANIFEST
-tornado.egg-info
+/tornado.egg-info/
_auto2to3*
-.tox
+.tox/
.vagrant
+/.coverage
+/htmlcov/
Please sign in to comment.
Something went wrong with that request. Please try again.