Add coverage tests
This commit is contained in:
@@ -2,4 +2,5 @@ codespell
|
||||
flake8
|
||||
bandit
|
||||
pytest
|
||||
stestr
|
||||
stestr
|
||||
coverage
|
||||
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