From 7e5879a6badb890ce5b8554d9dddf81b664bb93cdf73f57da669e783a0cefc13 Mon Sep 17 00:00:00 2001 From: f4lco Date: Sun, 27 Jan 2019 18:39:18 +0100 Subject: [PATCH] Improve test target: enable branch coverage, additional HTML output --- .gitignore | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d6ac783..79b9af6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ .idea .pytest_cache /.coverage +/htmlcov + diff --git a/Makefile b/Makefile index 3b11581..5469bf1 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ debug: FLASK_ENV=development $(RUN) test: - pipenv run python -m pytest -v --cov stw_potsdam + pipenv run python -m pytest -v --cov-branch --cov stw_potsdam --cov-report term --cov-report html test_debug: pipenv run python -m pytest -v --trace