XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> Open Source, Test Suites, XSLT Software, XSLT Tutorials -> XSLTunit

XSLTunit

Date: May. 23, 2001
Link: http://xsltunit.org/
Source Author or Organization: Eric van der Vlist, Dyodemea

XSLTunit from Examplotron author Eric van der Vlist applies the "test first programming" principle from Extreme Programming (XP) to bring unit testing to Extensible Style Language Transformations (XSLT) template development.

The open source product is comprised of this document, which provides a tutorial, several usage samples and an XSLT stylesheet (xsltunit.xsl) that can be imported into a transformation to perform unit tests.

The tutorial demonstrates building an XSLTunit set of tests (which will import xsltunit.xsl and the stylesheet to be tested) for testing text formatting, XML Path Language (XPath) expressions and whether two variables contain equivalent values.

XSLTunit currently supports Saxon. Future plans include developing versions that run on additional XSLT processors.