diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..7c3cacb --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[run] +dynamic_context = test_function + +[html] +show_contexts = True diff --git a/tox.ini b/tox.ini index 97f7586..3b7208d 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ setenv = PYTHONPATH=. SETUPTOOLS_USE_DISTUTILS=stdlib DB_ENGINE=postgresql_psycopg2 - coverage: COVERAGE=--cov=mellon --cov-branch --cov-append --cov-report xml --cov-report html + coverage: COVERAGE=--cov=mellon --cov-branch --cov-append --cov-report xml --cov-report html --cov-config .coveragerc usedevelop = coverage: true deps =