I´m executing TestNG Tests using a ant script.
How can I change the output XML dir in JUnit format (TEST-*.xml)?
The standard directory is junitreports.
<target name="runDBUnitTests">
<testng classpathref="xxxxx.classpath"
outputDir="${teste.relatorios.dir}"
haltOnfailure="false"
useDefaultListeners="true">
<classfileset dir="${teste.classesBin.dir}" includes="**/*DBIT.class" />
<jvmarg value="-Xms512m"/>
<jvmarg value="-Xmx1024m"/>
<jvmarg value="-XX:MaxPermSize=400m"/>
</testng>
<echo message="Finished running tests." />
</target>