Author: jleroux
Date: Sun Oct 18 13:07:09 2009
New Revision: 826428
URL:
http://svn.apache.org/viewvc?rev=826428&view=revLog:
A patch from Erwan de FERRIERES "generate a html report when running ant run-tests" (
https://issues.apache.org/jira/browse/OFBIZ-3040) - OFBIZ-3040
When you run the "ant run-tests" command, junit is generating xml files, which are not always easily readable. There is a function with junitreport which allow to generate html reports from the xml ones. Then it is more user friendly to watch them.
Modified:
ofbiz/trunk/build.xml
Modified: ofbiz/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=826428&r1=826427&r2=826428&view=diff==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Sun Oct 18 13:07:09 2009
@@ -401,6 +401,13 @@
<jvmarg value="${memory.maxpermsize.param}"/>
<arg value="test"/>
</java>
+ <mkdir dir="runtime/logs/test-results/html"/>
+ <junitreport todir="runtime/logs/test-results">
+ <fileset dir="runtime/logs/test-results/">
+ <include name="*.xml"/>
+ </fileset>
+ <report format="frames" todir="runtime/logs/test-results/html"/>
+ </junitreport>
</target>
<target name="_save-runtime-data">
<delete file="runtime/data.zip"/>