Add Makefile target to run unit tests with coverage

This commit is contained in:
Frederic Guillot 2016-01-03 18:47:25 -05:00
parent 4e6ad60f4f
commit f879f74173
1 changed files with 3 additions and 0 deletions

View File

@ -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