aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2012-03-14 00:09:33 -0400
committerJoe Gregorio <jcgregorio@google.com>2012-03-14 00:09:33 -0400
commit08cdcb829e8a5e175035b8c106f4ba58a832c9d0 (patch)
tree8753633455517c0991f9109985b85e6e551c0adb /Makefile
parentd6b11065654f34e54c32cbd7b0e2da7bca04d3f0 (diff)
downloadgoogle-api-python-client-08cdcb829e8a5e175035b8c106f4ba58a832c9d0.tar.gz
Increase coverage % for oauth2client.appengine.
Reviewed in http://codereview.appspot.com/5795070/.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2ae75e35a..920671576 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,14 @@ test:
python runtests.py tests/test_schema.py
python runtests.py tests/test_oauth2client_appengine.py
+
+.PHONY: coverage
+coverage:
+ coverage erase
+ find tests -name "test_*.py" | xargs --max-args=1 coverage run -a runtests.py
+ coverage report
+ coverage html
+
.PHONY: docs
docs:
cd docs; ./build.sh