Add code coverage with pytest-cov

This commit is contained in:
Dennis Siemensma
2016-11-27 20:07:13 +01:00
parent 819d0d0696
commit 220db73fbe
4 changed files with 7 additions and 1 deletions

View File

@@ -4,12 +4,13 @@ envlist = py34,py35
[testenv]
deps=
pytest
pytest-cov
pylama
pytest-asyncio
pytest-catchlog
pytest-mock
commands=
py.test test {posargs}
py.test --cov=dsmr_parser test {posargs}
pylama dsmr_parser test
[pylama:pylint]