Hi guys.
I just started working with the ant. I require to use the ANT to run
my TestNG testcases.
I went throght the following site. But they haven't given any good
example and so now I am pretty much confuse how to use this...
http://ant.apache.org/manual/index.html
http://testng.org/doc/ant.html
I have write down my build.xml as follows.
<project name="Google_Test" default="run" basedir=".">
<target name="run" description="Running test" >
<echo> Ruuning Testcases </echo>
<echo>$ws.home</echo>
</target>
<taskdef resource="testngtasks"
classpath="testng.jar"/>
<testng classpathref="test-path"
outputdir="${test-results.dir}"
haltonfailure="true"
useDefaultListeners="false"
listeners="org.uncommons.reportng.HTMLReporter">
<xmlfileset dir="." includes="testng.xml"/>
<sysproperty key="org.uncommons.reportng.title" value="My Test
Report"/>
</testng>
</project>
But i am not sure what to write down in the classpath and
classpathref ???
Can any one help.. or is there any site/blog where they explain what
to write down in all this. ??