db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/contrib junit-html-output.txt
Date Tue, 04 Mar 2003 21:04:02 GMT
thma        2003/03/04 13:04:02

  Added:       contrib  junit-html-output.txt
  Log:
  junit html output
  
  Revision  Changes    Path
  1.1                  db-ojb/contrib/junit-html-output.txt
  
  Index: junit-html-output.txt
  ===================================================================
  What i'd like, and what i think would be useful to others
  is a html formatted junit report. The plaintext output in my opinion is not
  as readable. I've made the required changes below, basically it's just
  changing the formatter from plain to xml, and adding a junitreport task.
  
  Regards, Dennis
  
  
      <target name="junit-no-compile-no-prepare" >
          <junit printsummary="yes" fork="yes" dir="${build.test}/ojb">
              <jvmarg value="-DOJB.bootLogLevel=INFO" />
              <classpath refid="runtime-classpath"/>
              <formatter type="xml" />
              <test name="org.apache.ojb.broker.AllTests"
                    haltonfailure="no"
                    outfile="target/test/tests-broker" >
              </test>
  
  
              <test name="org.apache.ojb.odmg.AllTests"
                    haltonfailure="no"
                    outfile="target/test/tests-odmg" >
              </test>
              <test name="org.apache.ojb.soda.AllTests"
                    haltonfailure="no"
                    outfile="target/test/tests-soda" >
              </test>
  
          </junit>
          <junitreport todir="target/test/">
              <fileset dir=".">
                  <include name="**/tests-*.xml"/>
              </fileset>
              <report format="frames" todir="doc/tests"/>
          </junitreport>
  </target>
  
  

Mime
View raw message