Line | |
---|
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="phpunit"> |
---|
11 | <exec command="phpunit" passthru="true"></exec> |
---|
12 | <phpunitreport infile="build/logs/junit.xml" format="frames" todir="build/phpunitreport" usesorttable="true" /> |
---|
13 | </target> |
---|
14 | <target name="build" depends="clean,prepare,phpunit" /> |
---|
15 | </project> |
---|
Note: See
TracBrowser
for help on using the repository browser.