XSpec is a unit test and behaviour-driven development (BDD) framework for XSLT, XQuery, and Schematron.
Note
This project is under active development.