ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pamela perez <patuco...@yahoo.es>
Subject Re: execute junit in directory
Date Mon, 30 Apr 2007 17:23:51 GMT
Thanks that already I have proven it and it does not work.




tests.dir directory TestsCases

 <junit printsummary="yes" fork="yes" haltonfailure="yes">
    
                <classpath refid="tests-classpath"/>
                     <classpath refid="compile.classpath"/>
                <formatter type="plain"/>
                <batchtest>
                           <fileset dir="${tests.dir}">
                           </fileset>
         </batchtest>
        </junit>

he is not correct???

----- Mensaje original ----
De: David Kavanagh <dkavanagh@gmail.com>
Para: Ant Users List <user@ant.apache.org>
Enviado: lunes, 30 de abril, 2007 19:19:24
Asunto: Re: execute junit in directory

Pamela,
You can use the <batchtest> sub-element instead of <test>. that allows
you to specify a fileset  which pulls in all of your junit test files.

David

On 4/30/07, Pamela perez <patuco_69@yahoo.es> wrote:
> As I can execute all the test you marry of a directory. this script executes single one.
>
> <target name="test">
>   <junit fork="yes" haltonfailure="yes">
>     <test name="${test.class.name}" />
>     <formatter type="plain" usefile="false" />
>     <classpath refid="test.classpath" />
>   </junit>
> </target>
>
> I need to execute them all then testcases.
>
> help me
>
>
>
>
>
> ____________________________________________________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com

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








       
____________________________________________________________________________________
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message