Hi,
I have a small problem with my on JUnit based testcases.
In my testcases I use System.out.println(..).
Like :
System.out.println("Test 1 progressing......") ;
I wish to include these in the finally generated JUnit HTML report.
The JUNIT ant task (with printsummary="withOutAndErr") includes the mentioned line :
[junit] Test 1 progressing......
I have looked at the XML file generated by the junit task, and find the output
included :
<system-out><![CDATA[Test 1 progressing......
]]></system-out>
So fas so good.
Now if I look at the generated HTML report does not include these comments as
expected...
Everything else works, except that the System.out's are included in the HTML report.
Now my question ofcourse is why are the messages not included in the HTML report ??
Am I missing something here, is there a option of the junitreport task I forgot ??
Regards, Fred
P.S.: Using ant : Apache Ant version 1.5 compiled on July 9 2002
P.P.S.: the used tasks are down here :
<junit printsummary="withOutAndErr" haltonfailure="no" showoutput="on">
<classpath>
<pathelement path="${buildJAVA};${JUNITCLASSPATH}" />
</classpath>
<formatter type="xml" />
<batchtest todir="${buildJUNIT}/xml">
<fileset dir="${buildJAVA}">
<include name="**/*Test.class" />
<exclude name="**/AllTests.class" />
</fileset>
</batchtest>
</junit>
<junitreport todir="${buildJUNIT}">
<fileset dir="${buildJUNIT}/xml">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${buildJUNIT}"/>
</junitreport>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>