mirror of
https://github.com/ihabunek/toot
synced 2024-12-21 14:36:47 +01:00
Set up code coverage
This commit is contained in:
parent
a0353f9bbe
commit
be0c5653af
3
.coveragerc
Normal file
3
.coveragerc
Normal file
@ -0,0 +1,3 @@
|
||||
[run]
|
||||
source=./toot
|
||||
command_line=-m pytest
|
4
Makefile
4
Makefile
@ -11,7 +11,9 @@ test:
|
||||
pytest -v
|
||||
|
||||
coverage:
|
||||
py.test --cov=toot --cov-report html tests/
|
||||
coverage erase
|
||||
coverage run
|
||||
coverage report
|
||||
|
||||
clean :
|
||||
find . -name "*pyc" | xargs rm -rf $1
|
||||
|
@ -1,7 +1,7 @@
|
||||
coverage
|
||||
keyring
|
||||
psycopg2-binary
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-xdist[psutil]
|
||||
pyxdg
|
||||
pyyaml
|
||||
|
Loading…
Reference in New Issue
Block a user