From f45f551bdf63d6742f88a350f72f64259fa9f499 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 8 Jun 2017 10:09:52 +0100 Subject: [PATCH] Collect coverage --- dev-requirements.txt | 1 + scripts/run-tests.sh | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index e6a2a71..97fd9cd 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,5 @@ bandit==1.4.0 +coverage==4.4.1 flake8==3.3.0 freezegun==0.3.9 mypy==0.511 diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 9319521..01f5863 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -2,4 +2,7 @@ set -e -python3 -m unittest -v $@ +coverage run --source=md_pdf -m unittest -v $@ + +coverage report +coverage html