xsl-list
[Top] [All Lists]

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

2010-03-07 01:51:55
On 06/03/10 15:08, Tony Graham wrote:
On Sat, Mar 06 2010 12:07:44 +0000, davep(_at_)dpawson(_dot_)co(_dot_)uk 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--