Junit Ant Task, output stack trace
Posted
by Benju
on Stack Overflow
See other posts from Stack Overflow
or by Benju
Published on 2010-05-07T21:24:39Z
Indexed on
2010/05/07
21:28 UTC
Read the original article
Hit count: 204
I have a number of tests failing in the following JUnit Task.
<target name="test-main" depends="build.modules" description="Main Integration/Unit tests">
<junit fork="yes"
description="Main Integration/Unit Tests"
showoutput="true"
printsummary="true"
outputtoformatters="true">
<classpath refid="test-main.runtime.classpath"/>
<batchtest filtertrace="false" todir="${basedir}">
<fileset dir="${basedir}" includes="**/*Test.class" excludes="**/*MapSimulationTest.class"/>
</batchtest>
</junit>
</target>
How do I tell Junit to ouput the errors for each test so that I can look at the stack trace and debug the issues.
© Stack Overflow or respective owner