<target name="test">
<phpunit haltonerror="true" haltonfailure="false">
<formatter type="xml" todir="report/test-reports" outfile="phpunit.xml"/>
<batchtest>
<fileset dir="src">
<include name="*.php"/>
</fileset>
</batchtest>
</phpunit>
<phpunitreport infile="report/test-reports/phpunit.xml"
format="noframes" todir="report"/>
</target> |