[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: junit test... for xslt2?

Subject: Re: junit test... for xslt2?
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 07 Mar 2010 08:08:41 +0000
Re:  junit test... for xslt2?
On 06/03/10 14:46, Tony Graham wrote:
On Sat, Mar 06 2010 13:31:03 +0000, pgfearo@xxxxxxxxxxxxxx wrote:
...
The XSLT<xsl:message>  provides a useful method for outputing test
results, especially when all xsl:message output from the test case set
is aggregated into a single XML file,  as in CoherentWeb. A further

The issue that I always have with all-XSLT testing frameworks is that they're good for the feel-good cases of testing that you get the right output for the right input, but not so good for testing that you get the right result for the wrong input if the right result is<xsl:message terminate="yes"/>.


Any test program can die under unexpected circumstances Tony. I guess
it's not unique to XSLT.

In terms of scope... My requirements this time were simply to test
values generated from an XSLT 2.0 stylesheet.
Not to test an actual stylesheet itself. Hence my prompt about
the various XSD datatypes. I could complete that (Thanks Andrew for
the 'smarts' input. Now adopted).

Tony/Florent. I'm with you on the processing model. Keep the
test code as imported, then (reluctantly) separate the test
generation from the overall result generation.. [and output
formatting?].

Is it practical to further than testing fairly simple values?
Aren't we into a full XML diff engine then?




regards


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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.