You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Denis Bessmertnyj <db...@isd.dp.ua> on 2007/04/23 16:32:26 UTC

JUnit task and tests in jars

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