diff options
author | Donald Stufft <donald@stufft.io> | 2014-06-30 20:58:56 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2014-06-30 20:59:32 -0400 |
commit | 6832f17a299e4d3ce7cffe8613fe7949e13f94b1 (patch) | |
tree | 28004df937312aa2c4bcb5d259320dfb91d78d49 | |
parent | a1fccee9ebf20c10ad74a686c136352782d6d220 (diff) | |
download | pip-6832f17a299e4d3ce7cffe8613fe7949e13f94b1.tar.gz |
Show coverage information for tests
-rw-r--r-- | .coveragerc | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..7a2f4b47c --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[run] +branch = True +omit = + pip/_vendor/* diff --git a/.gitignore b/.gitignore index d58fe42ae..1a0d50cd4 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ MANIFEST *.egg *.py[cod] *~ +.coverage @@ -6,13 +6,14 @@ envlist = deps = pretend pytest + pytest-cov pytest-timeout pytest-xdist mock scripttest>=1.3 https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv commands = - py.test --timeout 300 [] + py.test --cov pip/ --cov-report term-missing --timeout 300 [] [testenv:docs] deps = sphinx |