add coverage report

This commit is contained in:
Yun Xu 2017-06-11 08:49:35 -07:00
parent 0646baa18d
commit 47e761bbe2

View File

@ -9,16 +9,14 @@ setenv =
deps =
coverage
pytest
pytest-cov
pytest-sugar
aiohttp==1.3.5
chardet<=2.3.0
beautifulsoup4
gunicorn
commands =
pytest tests {posargs}
coverage erase
coverage run -m sanic.app
coverage report
pytest tests --cov sanic --cov-report term-missing {posargs}
[testenv:flake8]
deps =