diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..4d0c83af --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +branch = True +parallel = True +omit = + *dbapi20.py + *decimal.py + *numbers.py diff --git a/tox.ini b/tox.ini index e7bb9713..b725d8d4 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,8 @@ envlist = py25, py26, py27, py33 setenv = TESTDB=travis.cnf commands = - nosetests {posargs:-w tests -v} + nosetests {posargs:-w tests -v --with-coverage --cover-erase} deps = ipdb nose + nosexcover