Ticket #103: phing-phpunitreport.patch
| File phing-phpunitreport.patch, 1.3 KB (added by bpetty, 11 months ago) |
|---|
-
phpunit.xml
Property changes on: . ___________________________________________________________________ Added: svn:ignore + build wp-tests-config.php
10 10 <file phpVersion="5.3.0">tests/test_actions_closures.php</file> 11 11 </testsuite> 12 12 </testsuites> 13 </phpunit> 13 <logging> 14 <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" /> 15 </logging> 16 </phpunit> 17 No newline at end of file -
build.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <project name="WordPress Unit Tests" default="build" basedir="."> 3 <target name="clean"> 4 <delete dir="build" /> 5 </target> 6 <target name="prepare"> 7 <mkdir dir="build/logs" /> 8 <mkdir dir="build/phpunitreport" /> 9 </target> 10 <target name="test"> 11 <exec command="phpunit" passthru="true" /> 12 <phpunitreport infile="build/logs/junit.xml" format="frames" usesorttable="true" todir="build/phpunitreport" /> 13 </target> 14 <target name="build" depends="clean,prepare,test" /> 15 </project> 16 No newline at end of file
