ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject How to use zipped Junittestclasses
Date Thu, 16 Oct 2008 15:53:44 GMT
Hello,

I want to run Junittests that are stored as classfiles in a jar file.

Is it possible with Ant 1.6.5 or Ant 1.7 to use the junit-task without unjar the testfiles?

I want do do sth like this:

<junit errorproperty="dope.test.failed"
                   failureproperty="test.failed"
                   maxmemory="1024m"
                   fork="yes"
                   timeout="1000000" showoutput="false">
              <classpath>
                <path refid="junit.classpath"/>
              </classpath>
              <formatter type="brief" usefile="false"/>
              <formatter type="xml" usefile="true"/>
                <batchtest todir="${report.dir}">
                    <zipfileset src="jutest.jar">
                      <include name="${junit.testpattern}"/>
                    </zipfileset>
                </batchtest>
            </junit>

This does not select any test.

How can I select test out of jutest.jar?

(If I do it via a Batchfile it is possible!)

-- 
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

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


Mime
View raw message