Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » <junitreport/> with Eclipse Test Framework?
<junitreport/> with Eclipse Test Framework? [message #316095] Wed, 30 May 2007 14:30
Eclipse UserFriend
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
Previous Topic:"type filter text" internationalization?
Next Topic:Failed to Start Eclipse with Self-Build SDK for Solaris-Motif
Goto Forum:
  


Current Time: Sun Jun 30 14:22:35 GMT 2024

Powered by FUDForum. Page generated in 0.02873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top