Re: [xsl] Unit tests in XSLT

Subject: Re: [xsl] Unit tests in XSLT
From: "Tom Cleghorn tom.cleghorn@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Oct 2018 09:00:30 -0000
On 15/10/18 20:41, Pieter Masereeuw pieter@xxxxxxxxxxxx wrote:
It would be interesting to know if there are readers on this list who
actually make use of units test during XSLT development and what their
experiences are.

I've also always found unit testing XSLT a little too painful to actually get on with and *do* - especially when working on pre-existing code.

However, I've recently been getting promising results by generating
XSpec tests from a set of requirement docs filled in by stakeholders -
these still need some dev massage before they're ready to produce
working scenarios, but in the context of this particular project, it's
proving a good way to both discipline the code (not to mention the
coder...) and prevent regressions, and provide a window on to the things
stakeholders care about - i.e. what goes in and what comes out, rather
than what happens on the inside.
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you.

Current Thread