ant-user mailing list archives

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

Hi,

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

Kriss


  ----- 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" />
       </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