From 50e1660f5bfbb6714d2efcf1e58bd5d0b384b46d Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Fri, 31 May 2013 21:26:28 -0400 Subject: Add branch coverage, HTML pages, verbosity Running the unit tests outside of tox is useful since one can use the python debugger, pdb, to step through failing tests to find out what is wrong. Having it conveniently generate the coverage HTML reports avoids running tox just to get that data. We also add support for branch coverage, which will be highlighted in the HTML reports. Change-Id: Iccc7cd12efff8c136702638c8cb2fdca5d5d680b Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/5134 Reviewed-by: Luis Pabon Tested-by: Luis Pabon --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 3e01066..f4799b2 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ deps = https://launchpad.net/swift/grizzly/1.8.0/+download/swift-1.8.0.tar.gz -r{toxinidir}/tools/test-requires changedir = {toxinidir}/test/unit -commands = nosetests -v --exe --with-xunit --with-coverage --cover-package gluster --cover-erase --cover-xml --cover-html {posargs} +commands = nosetests -v --exe --with-xunit --with-coverage --cover-package gluster --cover-erase --cover-xml --cover-html --cover-branches {posargs} [tox:jenkins] downloadcache = ~/cache/pip -- cgit