diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-03 18:47:25 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-03 18:47:25 -0500 |
commit | f879f741732ea9d0a9d92dedae57038dfa861b5d (patch) | |
tree | b7e72838b791399f3235a2bdd07e23a58d0fd3a7 /Makefile | |
parent | 4e6ad60f4ffbfc24be2f534e1e5761cc5ae15616 (diff) |
Add Makefile target to run unit tests with coverage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |