Skip to content

Instantly share code, notes, and snippets.

@sap1ens
Created March 16, 2013 14:15
Show Gist options
  • Save sap1ens/5176566 to your computer and use it in GitHub Desktop.
Save sap1ens/5176566 to your computer and use it in GitHub Desktop.
Easiest PHPUnit - Jenkins integration (Ant build & JUnit reports)
<project name="Test" default="test" basedir=".">
<target name="test">
<exec executable="phpunit" failonerror="true" />
</target>
</project>
<phpunit>
<testsuites>
<!-- testsuites here -->
</testsuites>
<logging>
<log type="junit" target="./report/junit.xml" logIncompleteSkipped="false"/>
</logging>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment