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 <[EMAIL PROTECTED]>
Para: Ant Users List <[email protected]>
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
____________________________________________________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com