Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/build.xml

    rc455d7b r86442cb  
    4444
    4545
    46         <target name="dist" depends="buildwebservice,buildwebclient">
     46        <target name="dist" depends="buildwebservice,buildwebclient,test">
    4747                <echo msg="Creating archive"/>
    4848        <!--    <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
    … …  
    5858        </target>
    5959
    60         <!-- <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
    61                 <formatter type="plain" usefile="false"/>
    62                 <batchtest>
    63                         <fileset dir="webservice">
    64                                 <include name="tests/ServiceTest.php"/>
    65                         </fileset>
    66                 </batchtest>
    67         </phpunit> -->
     60        <target name="test">
     61                <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
     62                        <formatter type="plain" usefile="false"/>
     63                        <batchtest>
     64                                <fileset dir="webservice">
     65                                        <include name="tests/*Test.php"/>
     66                                </fileset>
     67                        </batchtest>
     68                </phpunit>
     69        </target>
    6870</project>
Note: See TracChangeset for help on using the changeset viewer.