ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: Getting ant to run all junit tests in a jar file
Date Thu, 20 May 2010 14:35:48 GMT
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:Soeren.Krogh.Neigaard@systematic.com] 
Gesendet: Donnerstag, 20. Mai 2010 08:50
An: user@ant.apache.org
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: 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