Candy: add test coverage

This commit is contained in:
Colin Goutte 2023-08-25 23:28:03 +02:00
parent 5ee4cb6041
commit 2a02a839b7
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
coverage_opt=--cov --cov-report=term-missing:skip-covered --durations=10
clean:
pipenv --rm
@ -20,7 +22,7 @@ watch_db:
test:
pipenv run pytest $(opt) utests
pipenv run pytest $(coverage_opt) $(opt) utests
functionnal_tests:
pipenv run python -m pytest functionnal_test.py

View File

@ -14,6 +14,7 @@ pytest = "*"
selenium = "*"
httpx = "*"
pdbpp = "*"
pytest-cov = "*"
[requires]
python_version = "3.11"