[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] <junitreport/> with Eclipse Test Framework?
|
- From: austimkelly@xxxxxxxxx (Tim)
- Date: Wed, 30 May 2007 14:30:51 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi - Is there any way to get a nicely formatted HTML report like you get
from the ant <junitreport/> task using the eclipse test framework?
Currently I'm running test suites as defined by "The Eclipse Test
Framework" document. (e.g.
http://archive.eclipse.org/eclipse/downloads/drops/R-3.0.2-200503110845/testframework.html)
I tried to use the output from the testsuite in an ant task like so:
----------
<target name="reports" description="Generates framed JUnit HTML
report">
<junitreport tofile="resultsAggregate.xml"
todir="${results}/html_frames/">
<!-- junitreport collects individual xml files generated by
the JUnit task using the nested "FileSet" element -->
<fileset dir="${results}/xml">
<include name="${report}_${os}.xml"/>
</fileset>
<report format="frames" todir="${results}/html_frames/"/>
</junitreport>
</target>
----------
Except I get this error:
***
[junitreport] the file <file.xml> is not a valid XML document.
***
Generating the HTML from JUNIT.XLS works OK but the format of the report
isn't too helpful.
Can someone point me to a better way to convert the output of my test
suite results to something more useful like that of a <junitreport/>?
Thanks,
Tim