You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by HHB <hu...@yahoo.ca> on 2009/02/08 15:14:17 UTC
How to rerun failed TestNG tests?
Hey,
How to rerun failed TestNG tests in Maven?
For Ant, we have this target:
<target name="failed-tests" depends="compiletests" description="Run TestNG
unit tests">
<testng classpathref="runtests.classpath" outputDir="${test.reports}"
verbose="2" haltonfailure="true">
<xmlfileset dir="${test.reports}" includes="testng-failed.xml"/>
</testng>
</target>
Thanks.
--
View this message in context: http://www.nabble.com/How-to-rerun-failed-TestNG-tests--tp21899281p21899281.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org