summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorctrlaltca <>2012-11-18 19:08:27 +0000
committerctrlaltca <>2012-11-18 19:08:27 +0000
commit6dff17fee04f8b8a1f35ec8e9afe65ae32b2684c (patch)
treee8e9f9b44ba7975aca3b96f736daa1728b59fe2c /build.xml
parentdd2fbb7ff2ce3d9885c18a978c79294a13ed9025 (diff)
Reworked the "test" task in order to make it work again:
- it will use the system PHPUnit installation if available (bundled PHPUnit with prado is no more a choice) - fixed tests in order to be compatible with recent phpunit versions (currently 3.7) - dropped old tests referring to unexisting components (NOTE: this includes what seems a test suite for an older version of SQLMap) Added some svn-ignore properties
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index cac1e8d9..794328e9 100644
--- a/build.xml
+++ b/build.xml
@@ -12,7 +12,8 @@
<!-- <taskdef name="prado-pear" classname="PradoPearTask" classpath="buildscripts/phing/tasks"/>-->
<taskdef name="prado-quickstart-index" classname="QuickstartIndexTask" classpath="buildscripts/phing/tasks"/>
<taskdef name="prado-api-index" classname="ManualIndexTask" classpath="buildscripts/phing/tasks"/>
-<!-- <taskdef name="prado-test" classname="PradoTestTask" classpath="buildscripts/phing/tasks"/>-->
+ <taskdef name="prado-test" classname="PradoTestTask" classpath="buildscripts/phing/tasks"/>
+ <taskdef name="phpunitreporttask" classname="PhpUnitReportTask" classpath="buildscripts/phing/tasks"/>
<taskdef name="compact-package" classname="PradoPackageTask" classpath="buildscripts/phing/tasks"/>
<taskdef name="prado-quickstart-docs" classname="PradoQuickStartDocs" classpath="buildscripts/phing/tasks" />
@@ -460,7 +461,7 @@ the PRADO distribution:
</batchtest>
<formatter type="xml" todir="${build.test.dir}" outfile="unit-tests.xml"/>
</prado-test>
- <phpunit2report infile="${build.test.dir}/unit-tests.xml" format="frames" styledir="buildscripts/phing/style" todir="${build.test.dir}"/>
+ <phpunitreporttask infile="${build.test.dir}/unit-tests.xml" format="frames" todir="${build.test.dir}"/>
</target>
<target name="snapshot" depends="rebuild">