Skip to content

Commit

Permalink
Tweaks to coverage to exclude unittest framework things that aren't run.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Aug 2, 2017
1 parent fbfc90e commit 6fc6b50
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[run]
source = zope.tal
omit =
src/zope/tal/tests/run.py
src/zope/tal/tests/markbench.py
src/zope/tal/timer.py
src/zope/tal/runtest.py

[report]
precision = 2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ develop-eggs/
.coverage
coverage.xml
nosetests.xml
htmlcov/
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ basepython =
python2.7
commands =
coverage run -m zope.testrunner --test-path=src
coverage report --fail-under=82
coverage report --fail-under=87
deps =
{[testenv]deps}
coverage

0 comments on commit 6fc6b50

Please sign in to comment.