Re: [xsl] junit test... for xslt2?

Subject: Re: [xsl] junit test... for xslt2?
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 07 Mar 2010 07:50:05 +0000
On 06/03/10 15:08, Tony Graham wrote:
On Sat, Mar 06 2010 12:07:44 +0000, davep@xxxxxxxxxxxxx wrote:
...
The next problem to address is generating test results from
each test, producing a cumulative test result and count...
not something that XSLT is very good at with its lack of
side effects!

The usual approach has been to produce a XML report of the results then produce HTML from that for viewing. E.g., see the processing model diagram for Florent George's XTC [1].

[1] http://www.fgeorges.org/xslt/xslt-unit/

That's the kind of logic I am used to... except with a test identity/number to ease 'talking about' the test.

tn expected actual [tolerances, if appropriate]

What *hasn't* Florent started work on :-)


regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread