]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - build.xml
And phpunit with html coverage to ant
[github/wallabag/wallabag.git] / build.xml
index cd2dfa3c86c33effd25281fa67ea3e6aa0804c0f..30ed2fa1d34b08ef9c4b238fca0035872a6db071 100644 (file)
--- a/build.xml
+++ b/build.xml
             <arg value="--env=test"/>
         </exec>
     </target>
+
+    <target name="phpunit" description="Run unit tests with PHPUnit + HTML Coverage">
+        <exec executable="phpunit" failonerror="true">
+            <arg value="--coverage-html"/>
+            <arg value="build/coverage"/>
+        </exec>
+    </target>
 </project>