diff --git a/test-requirements.txt b/test-requirements.txt index 8169ee8..8c42ee1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,4 +2,5 @@ codespell flake8 bandit pytest -stestr \ No newline at end of file +stestr +coverage \ No newline at end of file diff --git a/tox.ini b/tox.ini index 1456a84..bf02581 100644 --- a/tox.ini +++ b/tox.ini @@ -16,4 +16,9 @@ commands = bandit -r telegram_downloader_bot/ commands = codespell telegram_downloader_bot/ [testenv:unit] -commands = stestr run --test-path tests/ \ No newline at end of file +commands = stestr run --test-path tests/ + +[testenv:coverage] +commands = + coverage run -m unittest discover + coverage report -m \ No newline at end of file