You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Merlin Ran <me...@163.com> on 2006/01/03 06:47:06 UTC
How to filter the standard output of the junit tasks
Below is part of my build.xml:
<junit printsummary="no" haltonfailure="yes" maxmemory="16M" fork="no">
<classpath refid="selector.classpath"/>
<formatter type="brief" usefile="no"/>
<batchtest filtertrace="on">
<fileset dir="${testclasses.dir}">
<include name="**/*.class"/>
</fileset>
</batchtest>
The output contains vast standard output information but test results. I
can't just switch printsummary on and omit the brief formatter, because I
want to known which test fails, for what reason. Switching printsummary to
withOutandErr also can't satisfy my need.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org