[tests,dependencies] install and configure coverage reports

The reports will be printed on the terminal and written in xml.

A new just recipe is added as well: `just cov`

closes: #9
This commit is contained in:
bronsen 2025-03-18 00:12:51 +01:00
parent fe28b914be
commit 60344a0cf5
5 changed files with 26 additions and 2 deletions

View file

@ -24,4 +24,6 @@ serve:
test *ARGS:
ENV_PATH=.env.test python -m pytest {{ARGS}}
cov *ARGS:
just test --cov --cov-report xml --cov-report term --junitxml=reports/junit/junit.xml {{ARGS}}
alias fd := freshdeps