OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re[2]: [xml-dev] Announce: Unit Testing Framework - XSLT (UTF-X)

[ Lists Home | Date Index | Thread Index ]

Hello,

Maybe it will be interesting to know, that Juxy project has released
next version (0.7) recently.

As well as UTF-X, Juxy allows to write JUnit tests for XSLT. Juxy
features include:

- Ability to invoke individual xsl templates and pass them any
parameters (you can either call or apply templates with and without
modes).  
- Ability to setup stylesheet parameters and global variables.
- Ability to setup current node before transformation.
- Integration with JUnit (Juxy provides its own TestCase class
simplifying testing with JUnit, however, JUnit is not required for
writing tests, you can use any testing framework that you like).
- Transparent support for document fragments returned as
transformation result (result of the called template can have more
than one root node, Juxy will process such cases transparently for
you).   
- Easy result verification with sophisticated XML assertion mechanism.
- XPath support for deeper validation of transformation result (you
can use either Jaxen or JAXP XPath engine, Juxy will detect available
engine automatically)  
- Ability to trace execution of the sylesheets instructions.
- Support for custom URIResolver.
- Ant task for batch verification of XSLT stylesheets.

Juxy supports Java 1.4 and higher.

I am using it by myself in another project, where XML is converted to
another XML (to DocBook format) and find it very useful for testing
such a transformation.


-- 
Best regards,
 Pavel Sher                           mailto:pavel@actimind.com





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS