Re: [xsl] xslt test automation

Subject: Re: [xsl] xslt test automation
From: Philip Fearon <pgfearo@xxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2010 20:54:53 +0000
> "The requirement is that all output data not normally accessible to
>  XSLT-based frameworks is collated into a single XML resource,"
>
> As a requirement of what testing you want to do I find that a bit
> on the vague side?
>
> Given a requirement to 'produce a transform to take Schema X instance
> and produce something to Schema Y', what requirement would you
> put on the testing of the work done by the XSLT author?
>
> Some easy ones, some not so easy. "Has he/she done their job/what was
> asked of them" is part of the question to answer.
>
> I'm sure there's lots more than that.
>
> Far easier to test XSLT 2.0 functions against expected values etc.
> How much can you mess with the XSLT being tested before someone cries
> foul?
>
> If you want to test only parts of the transform, would you need to
> include the default templates? Some very grey areas Phil.
>
>
>
>
> --
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk

Current Thread