Fwd: Re: [icedtea-web] xml output for junit, transformation sheets for daily report
Dr Andrew John Hughes
ahughes at redhat.com
Wed May 11 06:52:24 PDT 2011
On 14:51 Wed 11 May , Jiri Vanek wrote:
> ..snip..
> >
> >> *index.html: file which provides runtime transformation
> >> of tests-output.xml and report.xml
> >> * tests/styles/index.js: runtime transformation script and fast
> >> navigation functions
> >
> > I think the transformation should be preformed by make as part of producing index.html,
> > rather than having browser-specific hacks.
> >
>
> Not exactly. My "task" ..or.. my "desire".. was to produce full,
> reusable report from testsuite. And this is XML (one for unit tests, one
> for reproducers-tests). It will be used for anything we will want to
> mine from results. (For now I'm aware about hystory, view of single run
> and graphs and statistics). The sheet is designed to view the report in
> human readable way for the single run. . It will be used to generate
> htmls on torment. But the generation itself should not be in
> icedtea-web (makefile).
Yes, it should, if the XML is being produced by make. It's unintuitive for
the index.html.in to be transformed to something that isn't the final HTML,
but requires a further transformation.
> On the other way the sheet prove itself useful when hunting bugs. So I
> decide to include the html skeleton which provide fast access to tests`
> results using xslt transformation...
> Btw - its not an hack:) The mozzila (and company) behaviour is following
> w3c specification for this thing. Although... yes IE part is hack :-/.
> So I'm willing to remove it (As i do not like M$ manners to :) ... ) but
> no one ever knows...
>
No, I believe the standard is to include:
<?xml-stylesheet href="templates/project.xsl" type="text/xsl" ?>
in the XML.
Displaying the results should not require Javascript.
>
> ..snip..
>
>
> Regards J.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the distro-pkg-dev
mailing list