Browse Source

fail on first failure when testing, this makes debug prints more likely to be visible..

main
John-Mark Gurney 4 years ago
parent
commit
764373c2a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -2,7 +2,7 @@ MODULES=bitelab
VIRTUALENV?=virtualenv-3.8

test:
(ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i')
(ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest -f $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i')

env:
($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)


Loading…
Cancel
Save