You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@db.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2003/03/30 18:18:03 UTC

JUnit Reports

From: Aleksander Rozman <al...@hermes.si>
Subject: FW: JUnit Reports
To: "'webmaster@apache.org'" <we...@apache.org>
Date: Thu, 27 Mar 2003 16:03:19 +0100


Hi !

Could you please forward this to someone working on DB project. I was unable
to contact their webmaster. Or maybe if you can help?

THX
Andy



>  -----Original Message-----
> From: 	Aleksander Rozman  
> Sent:	27. marec 2003 15:58
> To:	'webmaster@db.apache.org'
> Subject:	JUnit Reports
> 
> 
> Hi !
> 
> Sorry to contact you like that, but I was wondering which tool did you
> use, to create Junit testing report 
> as on this page: http://db.apache.org/torque/generator/junit-report.html
> 
> I am working on creating framework for JUnit, for project we are starting
> to work on, and I need to find some software that could produce reports of
> testing. 
> 
> Could you please find the person that could give me this information. I
> have seen similar report pages on several sites, so there must be software
> that makes this reports....
> 
> Andy
> 
> 
> --------------------------------------------------------------------------
> ----
> Aleksander Rozman - Andy                           Hermes SoftLab
>                                                    Maribor Office,
> Slovenia
> arozman@hermes.si                                  ASD:NIS
> ICQ: 4911125                                       (02) 3208-860

Re: JUnit Reports

Posted by Daniel Rall <dl...@finemaltcoding.com>.
CC'ing Aleksander Rozman....

"Juozas Baliuka" <ba...@mail.lt> writes:

> http://maven.apache.org is used to generate things like this,
> but you can use ant to generate something like this too:
> 
>  <target name="junit" depends="compile">
>         <mkdir dir="test_output"/>
>         <junit printsummary="yes" haltonfailure="yes">
>             <classpath>
>                 <fileset dir="${lib.dir}">
>                     <include name="**/*.jar"/>
>                 </fileset>
>                 <pathelement path="${build.dir}"/>
>                 <pathelement path="."/>
>             </classpath>
>             <formatter type="plain"/>
>             <formatter type="xml"/>
>             <batchtest fork="yes" todir="test_output" haltonfailure="no">
>                 <fileset dir="${build.dir}">
>                 </fileset>
>             </batchtest>
>         </junit>
>     </target>
> 
>     <target name="junitreport" depends="junit">
>         <junitreport todir="./test_output">
>             <fileset dir="test_output">
>                 <include name="TEST-*.xml"/>
>             </fileset>
>             <report format="frames" todir="./test_output"/>
>         </junitreport>
>     </target>
> 
> ----- Original Message -----
> From: "Daniel Rall" <dl...@finemaltcoding.com>
> To: <ge...@db.apache.org>
> Sent: Sunday, March 30, 2003 6:18 PM
> Subject: JUnit Reports
> 
> 
> > From: Aleksander Rozman <al...@hermes.si>
> > Subject: FW: JUnit Reports
> > To: "'webmaster@apache.org'" <we...@apache.org>
> > Date: Thu, 27 Mar 2003 16:03:19 +0100
> >
> >
> > Hi !
> >
> > Could you please forward this to someone working on DB project. I was
> unable
> > to contact their webmaster. Or maybe if you can help?
> >
> > THX
> > Andy
> >
> >
> >
> > >  -----Original Message-----
> > > From: Aleksander Rozman
> > > Sent: 27. marec 2003 15:58
> > > To: 'webmaster@db.apache.org'
> > > Subject: JUnit Reports
> > >
> > >
> > > Hi !
> > >
> > > Sorry to contact you like that, but I was wondering which tool did you
> > > use, to create Junit testing report
> > > as on this page: http://db.apache.org/torque/generator/junit-report.html
> > >
> > > I am working on creating framework for JUnit, for project we are
> starting
> > > to work on, and I need to find some software that could produce reports
> of
> > > testing.
> > >
> > > Could you please find the person that could give me this information. I
> > > have seen similar report pages on several sites, so there must be
> software
> > > that makes this reports....

Re: JUnit Reports

Posted by Juozas Baliuka <ba...@mail.lt>.
http://maven.apache.org is used to generate things like this,
but you can use ant to generate something like this too:

 <target name="junit" depends="compile">
        <mkdir dir="test_output"/>
        <junit printsummary="yes" haltonfailure="yes">
            <classpath>
                <fileset dir="${lib.dir}">
                    <include name="**/*.jar"/>
                </fileset>
                <pathelement path="${build.dir}"/>
                <pathelement path="."/>
            </classpath>
            <formatter type="plain"/>
            <formatter type="xml"/>
            <batchtest fork="yes" todir="test_output" haltonfailure="no">
                <fileset dir="${build.dir}">
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="junitreport" depends="junit">
        <junitreport todir="./test_output">
            <fileset dir="test_output">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="./test_output"/>
        </junitreport>
    </target>

----- Original Message -----
From: "Daniel Rall" <dl...@finemaltcoding.com>
To: <ge...@db.apache.org>
Sent: Sunday, March 30, 2003 6:18 PM
Subject: JUnit Reports


> From: Aleksander Rozman <al...@hermes.si>
> Subject: FW: JUnit Reports
> To: "'webmaster@apache.org'" <we...@apache.org>
> Date: Thu, 27 Mar 2003 16:03:19 +0100
>
>
> Hi !
>
> Could you please forward this to someone working on DB project. I was
unable
> to contact their webmaster. Or maybe if you can help?
>
> THX
> Andy
>
>
>
> >  -----Original Message-----
> > From: Aleksander Rozman
> > Sent: 27. marec 2003 15:58
> > To: 'webmaster@db.apache.org'
> > Subject: JUnit Reports
> >
> >
> > Hi !
> >
> > Sorry to contact you like that, but I was wondering which tool did you
> > use, to create Junit testing report
> > as on this page: http://db.apache.org/torque/generator/junit-report.html
> >
> > I am working on creating framework for JUnit, for project we are
starting
> > to work on, and I need to find some software that could produce reports
of
> > testing.
> >
> > Could you please find the person that could give me this information. I
> > have seen similar report pages on several sites, so there must be
software
> > that makes this reports....
> >
> > Andy
> >
> >
>
> --------------------------------------------------------------------------
> > ----
> > Aleksander Rozman - Andy                           Hermes SoftLab
> >                                                    Maribor Office,
> > Slovenia
> > arozman@hermes.si                                  ASD:NIS
> > ICQ: 4911125                                       (02) 3208-860