<junitreport/> with Eclipse Test Framework? [message #99312] |
Tue, 29 May 2007 19:18 |
Eclipse User |
|
|
|
Originally posted by: austimkelly.gmail.com
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-2 00503110845/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
|
|
|
|
Re: <junitreport/> with Eclipse Test Framework? [message #99465 is a reply to message #99353] |
Wed, 30 May 2007 14:33 |
Eclipse User |
|
|
|
Originally posted by: austimkelly.gmail.com
Thanks Paul for letting me know. I've cross posted there.
Tim
Paul Slauenwhite wrote:
> Hi Tim,
> The Eclipse Test Framework is use to test the Eclipse Platform and is
> not part of the Test and Performance Tools Platform. Please post your
> question to the Eclipse Platform news group.
> Paul
|
|
|
Powered by
FUDForum. Page generated in 0.03958 seconds