From: Stefan F. <ste...@us...> - 2010-03-23 18:46:31
|
Update of /cvsroot/rails/18xx In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10916 Modified Files: build.xml Log Message: Implementation of Rails junit testing. More details see mail to the develop list. Index: build.xml =================================================================== RCS file: /cvsroot/rails/18xx/build.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** build.xml 21 Mar 2010 17:30:05 -0000 1.16 --- build.xml 23 Mar 2010 18:45:19 -0000 1.17 *************** *** 136,138 **** --- 136,157 ---- </java> </target> + <target name="TestGames"> + <property name="test.xml.dir" value="test/xml"/> + <property name="test.report.dir" value="test/report"/> + <mkdir dir="${test.xml.dir}"/> + <mkdir dir="${test.report.dir}"/> + <junit> + <classpath refid="18xx.classpath"/> + <formatter type="brief" usefile="false" /> + <formatter type="xml" /> + <test name ="test.TestGameBuilder" todir="${test.xml.dir}"/> + </junit> + <junitreport todir="${test.xml.dir}"> + <fileset dir="${test.xml.dir}"> + <include name="TEST-*.xml"/> + </fileset> + <report format="noframes" todir="${test.report.dir}"/> + </junitreport> + </target> + </project> |