xsl-list
[Top] [All Lists]

Re: [xsl] ANN: 'Testing XSLT' training course PDF available

2007-12-15 18:06:02

On 14/12/2007, at 11:31 PM, Andrew Welch wrote:

On 14/12/2007, Tony Graham 
<Tony(_dot_)Graham(_at_)menteithconsulting(_dot_)com> wrote:
FYI, the PDF of my XML 2007 training course, 'Testing XSLT', is
available at:

  http://www.menteithconsulting.com/wiki/XML2007/TestingXSLT


You mention black box testing under the unit test heading... which
doesn't quite fit.

Personally I don't think you can unit test XSLT*, it's only really
worthwhile to test the output for a given set of inputs.

You can certainly unit test functions, as Mike Kay points out, but you can also unit test named templates; at least those that are essentially the equivalent of functions. Unit testing of these types of named templates is possible with either XSLT 1.0 or 2.0. An example of this is in the XSLT Standard Library, http://xsltsl.sf.net, see the 'test' subdirectory.

Regards,
Steve Ball



--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>