summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-03 18:47:25 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-03 18:47:25 -0500
commitf879f741732ea9d0a9d92dedae57038dfa861b5d (patch)
treeb7e72838b791399f3235a2bdd07e23a58d0fd3a7 /Makefile
parent4e6ad60f4ffbfc24be2f534e1e5761cc5ae15616 (diff)
Add Makefile target to run unit tests with coverage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cae98b2e..fcaf8e85 100644
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,9 @@ test-archive:
@ cd ${BUILD_DIR} && mv kanboard-${version}.zip ${dst}
@ rm -rf ${BUILD_DIR}/kanboard
+test-sqlite-coverage:
+ @ phpunit --coverage-html /tmp/coverage --whitelist app/ -c tests/units.sqlite.xml
+
test-sqlite:
@ phpunit -c tests/units.sqlite.xml