From ae272284a1086d4b8562c533ccd710b3ff6f4469 Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Thu, 2 Oct 2014 16:29:55 -0700 Subject: [PATCH 1/2] test coverage: add branch coverage to report --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8edf78a28df9..8562f00c00b7 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,8 @@ deps = basepython = python2.7 commands = - nosetests --with-xunit --with-xcoverage --cover-package=gcloud --nocapture --cover-erase --cover-tests + nosetests --with-xunit --with-xcoverage --cover-package=gcloud \ + --nocapture --cover-erase --cover-tests --cover-branches deps = nose unittest2 From bdcc0918481cbab411b89a80a1d238e010ce278f Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Thu, 2 Oct 2014 17:03:14 -0700 Subject: [PATCH 2/2] remove commented out doctests command --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8562f00c00b7..3634f0cbd27f 100644 --- a/tox.ini +++ b/tox.ini @@ -26,6 +26,5 @@ basepython = python2.7 commands = sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html -# sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest deps = Sphinx