And phpunit with html coverage to ant

Launching `ant phpunit` will now generate HTML Coverage
This commit is contained in:
Jeremy 2015-03-28 12:01:48 +01:00 committed by Nicolas Lœuillet
parent 164bd80118
commit 276a1e9d3f

View file

@ -40,4 +40,11 @@
<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>