Improve test target: enable branch coverage, additional HTML output
This commit is contained in:
@@ -2,3 +2,5 @@
|
|||||||
.idea
|
.idea
|
||||||
.pytest_cache
|
.pytest_cache
|
||||||
/.coverage
|
/.coverage
|
||||||
|
/htmlcov
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ debug:
|
|||||||
FLASK_ENV=development $(RUN)
|
FLASK_ENV=development $(RUN)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
pipenv run python -m pytest -v --cov stw_potsdam
|
pipenv run python -m pytest -v --cov-branch --cov stw_potsdam --cov-report term --cov-report html
|
||||||
|
|
||||||
test_debug:
|
test_debug:
|
||||||
pipenv run python -m pytest -v --trace
|
pipenv run python -m pytest -v --trace
|
||||||
|
|||||||
Reference in New Issue
Block a user