You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "sean.chen(陈思淼)" <ch...@gmail.com> on 2008/11/12 09:25:03 UTC

how to redirect the system.out into test report in running maven-surefire-plugin

I use use System.out.println to output infomation to the console, when I run
 mvn test,
I know the surefire can include all the system.out information,just like
this:
  <system-out><![CDATA[200
       Test works!
  ]CDATA]></system-out>
But I don't know exactly how it woks. can anybody who is familiar with
surefire can tell me about this?