On Sat, Mar 06 2010 13:31:03 +0000, pgfearo(_at_)googlemail(_dot_)com 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"/>.
If the test framework is also XSLT, it's going to die when the
stylesheet under test dies. I can't tell what CoherentWeb would do.
I'm a committer for both Juxy and XSpec. XSpec is good, and my clients
that are primarily XSLT users prefer it because it's just XSLT, but Juxy
can cope with <xsl:message terminate="yes"> because, as a Java
application with Java and XML syntaxes for tests, it can catch the fact
that the transform terminated and then continue on to the next test.
Regards,
Tony Graham
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com
Director W3C XSL FO SG Invited Expert
Menteith Consulting Ltd XML Guild member
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599 http://www.menteithconsulting.com
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
xmlroff XSL Formatter http://xmlroff.org
xslide Emacs mode http://www.menteith.com/wiki/xslide
Unicode: A Primer urn:isbn:0-7645-4625-2
--~------------------------------------------------------------------
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>
--~--