Skip to content
Snippets Groups Projects
Commit d70dc312 authored by Demian Katz's avatar Demian Katz
Browse files

Added fast PHPUnit Phing task for performing tests without wasting time generating reports.

parent 0f7fd867
No related merge requests found
...@@ -64,6 +64,11 @@ ...@@ -64,6 +64,11 @@
<exec dir="${srcdir}/module/VuFind/tests/unit-tests" command="VUFIND_LOCAL_DIR=${srcdir}/local phpunit -dzend.enable_gc=0 --log-junit ${builddir}/reports/phpunit.xml --coverage-clover ${builddir}/reports/coverage/clover.xml --coverage-html ${builddir}/reports/coverage/" passthru="true" checkreturn="true" /> <exec dir="${srcdir}/module/VuFind/tests/unit-tests" command="VUFIND_LOCAL_DIR=${srcdir}/local phpunit -dzend.enable_gc=0 --log-junit ${builddir}/reports/phpunit.xml --coverage-clover ${builddir}/reports/coverage/clover.xml --coverage-html ${builddir}/reports/coverage/" passthru="true" checkreturn="true" />
</target> </target>
<!-- PHPUnit without logging output -->
<target name="phpunitfast" description="Run unit tests">
<exec dir="${srcdir}/module/VuFind/tests/unit-tests" command="VUFIND_LOCAL_DIR=${srcdir}/local phpunit -dzend.enable_gc=0" passthru="true" checkreturn="true" />
</target>
<!-- Install and Activate VuFind --> <!-- Install and Activate VuFind -->
<target name="startup" description="install and activate demo"> <target name="startup" description="install and activate demo">
<!-- set up appropriate read/write permissions for Apache --> <!-- set up appropriate read/write permissions for Apache -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment