[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I'm wondering how you test your xslt stylesheets.
But most of these tools seem to be abandoned or their mailing list low traffic. I wonder why that may be:
Isn't it very common to develop an xslt and then refactor it? Wouldn't a test suite help in this situation? How about test driven development?
The limitations I found with xspec is:
- You can only set style sheet parameters once for a test suite. So if you want to run a number of tests that mostly manipulate style sheet parameters, you'd have to put each of the tests in its own suite.
Or you'd have to slightly change your xslt (http://code.google.com/p/xspec/wiki/WritingScenarios#Global_Parameters)
- test for call-template and also provide an xml fragment: http://groups.google.com/group/xspec-users/browse_thread/thread/17b9ebef6033ef76
[xsl] xslt test automation
Subject: [xsl] xslt test automation From: Bernhard Wagner <bernhard.wagner@xxxxxx> Date: Wed, 24 Nov 2010 17:02:51 +0100 |
I'm wondering how you test your xslt stylesheets.
I've found a few projects addressing this, for example: http://xspec.googlecode.com/ http://utf-x.sourceforge.net/
But most of these tools seem to be abandoned or their mailing list low traffic. I wonder why that may be:
Isn't it very common to develop an xslt and then refactor it? Wouldn't a test suite help in this situation? How about test driven development?
The limitations I found with xspec is:
- You can only set style sheet parameters once for a test suite. So if you want to run a number of tests that mostly manipulate style sheet parameters, you'd have to put each of the tests in its own suite.
Or you'd have to slightly change your xslt (http://code.google.com/p/xspec/wiki/WritingScenarios#Global_Parameters)
- test for call-template and also provide an xml fragment: http://groups.google.com/group/xspec-users/browse_thread/thread/17b9ebef6033ef76
Thank you Bernhard
----- Neu fuer Seh- und Lesebehinderte: Zeitschriften online hoeren und herunterladen. http://www.sbs.ch/zeitschriftendownload
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] selecting nodes based on , Fabien Tillier | Thread | Re: [xsl] xslt test automation, Wendell Piez |
Re: [xsl] How to recover/continue f, Jack Bush | Date | [xsl] Sorting chemical formulae in , Emma Burrows |
Month |