Browse Source

add a target for testing and include coverage

main
John-Mark Gurney 7 years ago
parent
commit
0340252072
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      Makefile
  2. +1
    -0
      requirements.txt

+ 2
- 0
Makefile View File

@@ -0,0 +1,2 @@
test:
echo yadenon.py | entr sh -c 'python -m coverage run -m unittest yadenon && coverage report --omit=t/\* -m'

+ 1
- 0
requirements.txt View File

@@ -1,3 +1,4 @@
mock
twisted
pyserial
coverage

Loading…
Cancel
Save