ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blackwater dev <blackwater...@gmail.com>
Subject Re: AW: newbie-running junit task from jar file
Date Wed, 01 Dec 2004 14:43:03 GMT
Thanks Jan,

I am getting the error that the junit task doesn't support nested text
data so I will have to play with it.

Thanks!


On Wed, 1 Dec 2004 15:20:08 +0100, jan.materne@rzf.fin-nrw.de
<jan.materne@rzf.fin-nrw.de> wrote:
> All tests I know are invoked via their source code. The Tutorial "Writing
> Task"
> in the manual [1] for example shows that.
> 
> But let´s have a look in <junit>s Manual [2] ...
> Not tested, but maybe that will work:
>   <junit>
>     <classpath> <fileset ...includeYouTestJar /> </classpath>
>     <test name="AllTests" todir="reports"/>
>   </junit>
>   <junitreport AsInTheExampleInTheManual [3] />
> 
> Jan
> 
> [1] http://ant.apache.org/manual/tutorial-writing-tasks.html#TestingTasks
> [2] http://ant.apache.org/manual/OptionalTasks/junit.html
> [3] http://ant.apache.org/manual/OptionalTasks/junitreport.html
> 
> > -----Ursprüngliche Nachricht-----
> > Von: blackwater dev [mailto:blackwaterdev@gmail.com]
> > Gesendet am: Mittwoch, 1. Dezember 2004 15:09
> > An: Ant Users List
> > Betreff: newbie-running junit task from jar file
> >
> > Hello,
> >
> > I took my junit classes and created a jar file which I want to run
> > from ant.  How do I use the junit task and specify where the jar file
> > lives and to kick off with the AllTests class?  I also need to use the
> > html reporting also.  Most of the samples I see simply call the basic
> > class.
> >
> > Thanks!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message