it looks like this:
<project name="junittest" default="test" basedir=".">
<target name="test">
<junit printsummary="true" haltonfailure="true">
<formatter type="brief" usefile="true" />
<formatter type="xml" />
<test name="cingcom.estorepost.test.TestXstreamTest" />
</junit>
<junitreport todir="./reports">
<fileset dir="./reports">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="./reports/html"/>
</junitreport>
</target>
</project>
Also in the
ant javadocs it says something like:
"If you want to use Xalan 1.2.2, the noframes report is still supposed to work. If you want the frames support, copy the file junit-frames-xalan1.xsl from the Ant distribution's etc directory to a new directory, change its name to junit-frames.xsl and use the task's styledir attribute to point to it. You will also need a compatible (older) version of Xerces. as well as BSF(bsf.jar). Again, using Xalan 2 is simpler and supported."
The javadoc prescribes to go the route of noframes, which kind of defeates the purpose of creating a decent test report
BTW i am using jdk1.3.1, if that makes any sense.
[ August 23, 2004: Message edited by: Kishore Dandu ]