ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Merlin Ran" <merlin...@163.com>
Subject How to filter the standard output of the junit tasks
Date Tue, 03 Jan 2006 05:47:06 GMT
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


Mime
View raw message