Yes, you can customize the report easily (if you know XSL) from <junitreport>. Simply use the styledir attribute on the <report> element and provide your own XSL files (see the Ant docs for mandatory file names that you must use).
As for getting the date/time into them - the best method is probably this: you have access to Ant properties so you could, prior to running <junit>, set a property with <tstamp> with the format you want and then output it in the HTML generated. As for source code, all Jakarta source code is available via CVS. Here's a link right to the .junit package that contains all the related code for <junit> and <junitreport>: http://cvs.apache.org/viewcvs/jakarta-ant/src/main/org/apache/tools/ant/task defs/optional/junit/ You could even implement your own JUnitResultFormatter and hook it directly into <junit>/<format> (see docs for details). Erik ----- Original Message ----- From: "John Lindwall" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 7:47 PM Subject: JunitReport > Ant 1.4.1 > > Using JUnitReport can I customize the output at all? I want the date/time of the test execution to appear on the main page. > > BTW Where is the source code to this task to be found? Maybe that is the solution? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
