ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sumit.Srivast...@ubs.com>
Subject Junit tasks with TestSuite
Date Thu, 18 Oct 2007 21:20:39 GMT
Hi All,
	I am using Junit task for the Unit testing , following is my
task

			<junit printsummary="yes" haltonfailure="no">
				<classpath refid="test.pathrefs" />
				<formatter type="plain"/>
				
				<batchtest fork="yes"
todir="${tests.report}">
  					fileset dir="${src.tests}">
    					include name="**/*Test*.java"/>
		   			</fileset>
	 			</batchtest>
 			</junit>

When the same is initiated from the Command prompt, it just hangs when
it finds a *TestSuite.java file.

I am using Ant 1.7.0 and have put the following in the classpath :

		<pathelement
location="C:/apache-ant-1.7.0/lib/ant-junit.jar"/>
 		<fileset dir="C:/apache-ant-1.7.0/lib/">
			<include name="**/*.jar"/>
	    	</fileset >


Any reason why is it happening ? Please help

Thanks,
Sumit

Mime
View raw message