[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:
parent
fe28b914be
commit
60344a0cf5
5 changed files with 26 additions and 2 deletions
2
justfile
2
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue