Automatically exported from
XSLT XProc XQuery Shell CSS Java Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Add the pwd parameter when applying the coverage stylesheet, as sugge… Jul 8, 2014
editors Fixed paths to xspec.rnc up. Dec 20, 2011
graphics Added 'format-xspec-report-folding.xsl' and related graphics. Reorgan… Jan 29, 2010
java/com/jenitennison/xslt/tests Reorganized the directory structure, following the EXPath XProject co… Aug 30, 2011
test Added @assert and @context attributes. Adapted paths to the new dir s… Dec 5, 2011
xproject Built XSpec 0.4.0 Release Candidate 1. Dec 5, 2011
LICENSE Update Aug 23, 2015
find-examples.xsl Anchored the regex (and reformated the error message). Sep 20, 2010


Version 0.4.0.

XSpec is a Behaviour Driven Development (BDD) framework for XSLT and XQuery. It is based on the Spec framework of RSpec, which is a BDD framework for Ruby.

XSpec consists of a syntax for describing the behaviour of your XSLT or XQuery code, and some code that enables you to test your code against those descriptions.

Maven plugins for running XSpec tests as part of a build are available from adamretter and daisy.

An external project, jxsl, provides a Maven archetype for XSpec (Ant is expected soon). The goal is to provide everything needed to integrate with Continuous Integration tools for Java (like Hudson, Cruise Control, etc.) See Benoit's presentation at Balisage 2011 in Montreal for more info.

The project owners are Jeni Tennison and Florent Georges.


For more information about using XSpec, visit the project wiki at If you have any questions, you can also join (or search the archives of) the XSpec discussion list:


XSpec is released under the MIT license. For a copy of this license, see LICENSE, or go to