From f879f741732ea9d0a9d92dedae57038dfa861b5d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 3 Jan 2016 18:47:25 -0500 Subject: Add Makefile target to run unit tests with coverage --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3