diff --git a/.coveragerc b/.coveragerc index 2ee1587..e773bcc 100644 --- a/.coveragerc +++ b/.coveragerc @@ -4,10 +4,10 @@ omit = *private* */local/* *venv* - *tests/* - *tests/fixtures/* - *test_base.py - *output* + */tests/* + */tests/fixtures/* + test_base.py + */output* /usr/lib/python* [report] diff --git a/scripts/coverage b/scripts/coverage index 0ef28cd..6629fa6 100755 --- a/scripts/coverage +++ b/scripts/coverage @@ -5,4 +5,5 @@ if [ -n "$1" ]; then MODULE=$(printf ' %q' "$@") fi -pytest --exitfirst --verbose --failed-first --cov=${MODULE} --cov-report term-missing --cov-fail-under=${MIN_COVERAGE} ${MODULE} --verbosity=5 +pytest --exitfirst --verbose --failed-first --cov=${MODULE}/ --debug config --cov-report term-missing --cov-fail-under=${MIN_COVERAGE} ${MODULE} --verbosity=5 + diff --git a/test_requirements.txt b/test_requirements.txt index b744fb8..64be617 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -6,8 +6,6 @@ pytest pytest-cov pyfakefs flake8 -pytest -pytest-cov pyfakefs black autoflake