Skip to content

Commit

Permalink
Adds phpunit report task/target
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykendall committed Sep 7, 2013
1 parent 41a75c2 commit 2c73d68
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
--coverage-html=${project.basedir}/build/coverage" />
</target>

<target name="phpunit-gen-report">
<phpunitreport
infile="${project.basedir}/build/logs/junit.xml"
format="frames"
todir="${project.basedir}/build/logs"
/>
</target>

<target name="phpdoc" description="Generate API documentation">
<exec
passthru="${passthru}"
Expand Down Expand Up @@ -110,6 +118,7 @@
<phingCall target="phpdoc" />
<phingCall target="phpcs" />
<phingCall target="phpunit" />
<phingCall target="phpunit-gen-report" />
<phingCall target="phpcpd" />
<phingCall target="phpmd" />
<phingCall target="pdepend" />
Expand Down

0 comments on commit 2c73d68

Please sign in to comment.