ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bessmertnyj" <d...@isd.dp.ua>
Subject JUnit task and tests in jars
Date Mon, 23 Apr 2007 14:32:26 GMT
Hi, 

I have a lot of jars with JUnit test cases. 
How I may run them.

What is wrong in this approach:


<target name="Test">        
        <junit printsummary="yes">
            <classpath>         
                <fileset dir="${env.COMPONENTS_JARS_LOCATION}">
                    <include name="**/*.jar"/>
                </fileset>                
            </classpath>
              
            <formatter type="plain"/>

            <batchtest fork="yes" todir="${env.ALL_TESTS_REPORT_DIR}">
                <fileset dir="${env.ALL_TESTS_BUILD_DIR}">
                    <include name="**/*.jar"/>
                </fileset>
            </batchtest>
        </junit>        
    </target> 

Thank you

-
Denis


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


Mime
View raw message