ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandu" <cha...@translogicsys.com>
Subject JUnit - Properties overhead
Date Wed, 24 Mar 2004 09:31:45 GMT
When I try to generate JUnit report it is becoming overhead to generate
report with the system properties in each individual Test report. So that
the report size increases in large.

I dont want System properties summary in each individual Test report or
in aggreated test report. Can anyone pls suggest a way to do this? Here I
am attaching the code snippet from my build script.

 <!-- ========================================================================== -->
 <!-- Target for running the junit testcases          -->
 <!-- ========================================================================== -->
 <target name="run-junit-tests" depends="test-compile">

   <junit printsummary="on" haltonfailure="off" showoutput="on">
     <classpath >
       <path refid="build-class-path" />
     </classpath>
     <batchtest todir="${junit.test.results.dir}">
       <formatter type="xml"/>
       <fileset dir="${temp.test.classes}">
         <include name="**/testcases/*.class"/>
       </fileset>
     </batchtest>
   </junit>

   <junitreport todir="${junit.test.results.dir}">
     <fileset dir="${junit.test.results.dir}">
       <include name="**/*.xml" />
     </fileset>
     <report format="frames" todir="${junit.test.results.dir}/html"/>
   </junitreport>

 </target>

-- Chandu.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message