[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ANN: 'Testing XSLT' training course PDF available

Subject: RE: ANN: 'Testing XSLT' training course PDF available
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 14 Dec 2007 14:15:28 -0000
RE:  ANN: 'Testing XSLT' training course PDF available
> I would ideally like - Have the original stylesheet (which is 
> undergoing testing) *unmodified*.
> Write a unit testing stylesheet (which is like 1 unit test), 
> which can test some aspect of the original stylesheet (like a 
> function), or possibly test the whole stylesheet as a unit 
> (and use deep-equal() function to compare the expected output 
> with the received output - but this seems not possible 
> without inserting a named template in the main stylesheet).

You can always put the test template in a module that includes or imports
the stylesheet under test, if that's what you prefer. (I prefer to put it in
the main stylesheet so it doesn't get mislaid...)

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.