From 03402520726a418c1d44adf66d4889cfcc4320e5 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 3 Sep 2017 15:36:44 -0700 Subject: [PATCH] add a target for testing and include coverage --- Makefile | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c193e67 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +test: + echo yadenon.py | entr sh -c 'python -m coverage run -m unittest yadenon && coverage report --omit=t/\* -m' diff --git a/requirements.txt b/requirements.txt index 24701a7..74f7958 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ mock twisted pyserial +coverage