Add Makefile target to run unit tests with coverage
This commit is contained in:
3
Makefile
3
Makefile
@@ -102,6 +102,9 @@ test-archive:
|
|||||||
@ cd ${BUILD_DIR} && mv kanboard-${version}.zip ${dst}
|
@ cd ${BUILD_DIR} && mv kanboard-${version}.zip ${dst}
|
||||||
@ rm -rf ${BUILD_DIR}/kanboard
|
@ rm -rf ${BUILD_DIR}/kanboard
|
||||||
|
|
||||||
|
test-sqlite-coverage:
|
||||||
|
@ phpunit --coverage-html /tmp/coverage --whitelist app/ -c tests/units.sqlite.xml
|
||||||
|
|
||||||
test-sqlite:
|
test-sqlite:
|
||||||
@ phpunit -c tests/units.sqlite.xml
|
@ phpunit -c tests/units.sqlite.xml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user