ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kriss" <>
Subject Re: JUnit - Properties overhead
Date Wed, 24 Mar 2004 09:38:16 GMT


I'm also interested, because my java.classpath is really too long and junit report cannot
generate html page due to this.


  ----- Original Message ----- 
  From: Chandu 
  To: 'Ant Users List' 
  Sent: Wednesday, March 24, 2004 10:31 AM
  Subject: JUnit - Properties overhead

  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" />
       <batchtest todir="${junit.test.results.dir}">
         <formatter type="xml"/>
         <fileset dir="${temp.test.classes}">
           <include name="**/testcases/*.class"/>

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


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