Subject: Re: [xsl] junit test... for xslt2? From: Dave Pawson <davep@xxxxxxxxxxxxx> Date: Sat, 06 Mar 2010 12:07:44 +0000 |
CoherentWeb[1] is a rich client app designed from the outset for XSLT testing, it is commercial software but currently available as a free Beta.
This probably works at a higher level than you require but may be of interest all the same. Its designed to work with representative XML test cases (normally a few hundred, but it can handle 10,000).
The idea is to either use the integrated XPath development environment to set up library files of grouped XPath 'Watch Variables, or use XSLT to import XPath assertions from external XML sources such as schematron files. Alternatively, its suitable for (though not specifically designed for) XSLT based test frameworks such as XSpec. Auto generated XML output reports assist in testing xsl:message and xsl:result-document output as well as the principal output.
Whilst conventional XML IDE's focus on a variety of project files you edit and occasionally test, as an Integrated Test Environment, CoherentWeb is all about analysing the input and output of one or more XSLT transforms on a document set.
[1] http://coherentweb.com
Phil Fearon http://qutoric.com
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!
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] junit test... for xslt2?, Philip Fearon | Thread | Re: [xsl] junit test... for xslt2?, Philip Fearon |
Re: [xsl] junit test... for xslt2?, Philip Fearon | Date | Re: [xsl] junit test... for xslt2?, Philip Fearon |
Month |