Skip to content

Commit b5d019e

Browse files
committed
test covorge test
1 parent d0702ac commit b5d019e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

tox.ini

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ skip_missing_interpreters = true
44

55
[testenv]
66
extras = dev
7-
commands = py.test --cov
7+
commands = pytest --cov=htmlement --cov-report xml
88

99
# Flake8 Environment
1010
[testenv:flake8]
@@ -24,3 +24,18 @@ exclude =
2424
.git,
2525
docs,
2626
tests
27+
28+
[coverage:run]
29+
source=htmlement
30+
branch=True
31+
32+
[coverage:report]
33+
exclude_lines =
34+
if __name__ == .__main__.:
35+
def __repr__
36+
pragma: no cover
37+
38+
[coverage:paths]
39+
source =
40+
htmlement
41+
.tox/*/lib/python*/site-packages/htmlement

0 commit comments

Comments
 (0)