Skip to content

xspec/xspec

 
 

Repository files navigation

AppVeyor Build status Azure Pipelines Build Status GitHub Actions Test Workflow Status GitHub Actions Lint Workflow Status

XSpec Release

XSpec is a unit test and behaviour-driven development (BDD) framework for XSLT, XQuery, and Schematron. 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 XSLT, XQuery, or Schematron code, and some code that enables you to test the code against those descriptions.

Getting Started

To get started, check out the installation instructions for macOS/Linux and Windows and how to write your first XSpec test.

Support

Check out the XSpec documentation in the wiki before raising an issue or asking a question. If you have any question that is not answered in the wiki, feel free to raise an issue. For historical searches, the unmonitored XSpec discussion list might also be useful.

Contribute

XSpec is an open source project originally written by Jeni Tennison. It was maintained in the past years by Florent Georges. Active development of XSpec restarted in 2016 and the project is currently maintained by AirQuick, Amanda Galtman (technical development) and Sandro Cirulli (management and community) with the help of the XSpec community.

If you wish to contribute to XSpec, please read the contributing guidelines and then raise or pick up an issue and send us your pull requests. Please document any issue with examples of your XSpec code.

License

XSpec code is released under the MIT License. Few parts of the codebase are released under the Mozilla Public License.

The content of the XSpec wiki is released under the Creative Commons 3.0 BY license.

Packages

No packages published

Languages

  • HTML 57.7%
  • XSLT 29.2%
  • Shell 6.3%
  • XProc 2.5%
  • XQuery 1.5%
  • Batchfile 1.4%
  • Other 1.4%