![]()
|
JUnitReportMerge the individual XML files generated by the JUnit task and eventually apply a stylesheet on the resulting merged document to provide a browsable report of the testcases results.Note: This task depends on external libraries not included in the Ant distribution. See Library Dependencies for more information. Requirementsalthough does work, but as Xalan1 is not supported, we do not recommend this.If you do you use Xalan 1.2.2 you will need a compatible (older) version of Xerces. as well as BSF(bsf.jar). Again, using Xalan 2 is simpler and supported. Parameters
Nested Elementsfilesettask using the nested<FileSet>
element.
reportGenerate a browsable report based on the document created by the merge. Parameters
Example of reportgenerate the default framed report in the directory report/html.<junitreport todir="./reports"> <fileset dir="./reports"> </fileset> <report format="frames" todir="./report/html"/> </junitreport> Copyright © 2001-2002 Apache Software Foundation. All rights Reserved. |