try this:

          <batchtest todir="${your.report.dir}">
              <zipfileset src="${your.testjar}">
                 <include name = "**/*Test.class"/>
              </zipfileset>
          </batchtest>



-----Ursprüngliche Nachricht-----
Von: Søren Krogh Neigaard [mailto:[email protected]] 
Gesendet: Donnerstag, 20. Mai 2010 08:50
An: [email protected]
Betreff: Getting ant to run all junit tests in a jar file

Hi

I have a jar file with some compiled *.class junit tests in it, and I would 
like to get ant to execute all these tests. How do I do this? I am following 
this tutorial: http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html, 
however this tutorial runs *.java files. I have tried to modify it, but have 
failed to get it to work.

Med venlig hilsen / Kind regards 
Søren Krogh Neigaard


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to