Add coverage tests
This commit is contained in:
7
tox.ini
7
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/
|
||||
commands = stestr run --test-path tests/
|
||||
|
||||
[testenv:coverage]
|
||||
commands =
|
||||
coverage run -m unittest discover
|
||||
coverage report -m
|
||||
Reference in New Issue
Block a user