diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-28 12:01:48 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:32:02 +0200 |
commit | 276a1e9d3fb7e83569d16bcb37a67607d4ace8be (patch) | |
tree | 40769c29279d189dfe0dbb8aa513122f9172ebde /build.xml | |
parent | 164bd801188245942ca996eda75d7a554f29746a (diff) | |
download | wallabag-276a1e9d3fb7e83569d16bcb37a67607d4ace8be.tar.gz wallabag-276a1e9d3fb7e83569d16bcb37a67607d4ace8be.tar.zst wallabag-276a1e9d3fb7e83569d16bcb37a67607d4ace8be.zip |
And phpunit with html coverage to ant
Launching `ant phpunit` will now generate HTML Coverage
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -40,4 +40,11 @@ | |||
40 | <arg value="--env=test"/> | 40 | <arg value="--env=test"/> |
41 | </exec> | 41 | </exec> |
42 | </target> | 42 | </target> |
43 | |||
44 | <target name="phpunit" description="Run unit tests with PHPUnit + HTML Coverage"> | ||
45 | <exec executable="phpunit" failonerror="true"> | ||
46 | <arg value="--coverage-html"/> | ||
47 | <arg value="build/coverage"/> | ||
48 | </exec> | ||
49 | </target> | ||
43 | </project> | 50 | </project> |