XSpec v2.1.4 Released
April 30, 2021
Submitted by Sandro Cirulli.
We are pleased to announce the release of XSpec v2.1.4, the open source unit test and behaviour-driven development framework for XSLT, XQuery, and Schematron.
XSpec v2.1.4 introduces new features and enhancements, fixes bugs, and improves the test suite and the documentation. You can get the latest release of XSpec and read the release notes on GitHub.
Here are the highlights of the XSpec v2.1.4 release:
Common to Languages Under Test
- You can mark assertions as pending by setting
@pending
onx:expect
, as an alternative to using thex:pending
element. /x:description/@measure-time
measures elapsed run times of scenarios. (Requires Saxon-PE or EE.)
XSLT
- Different scenarios can use different global parameters (
//x:scenario/x:param
). (Requires/x:description/@run-as="external"
.)
Schematron
- Fully tested with SchXslt v1.7.1
- Supports
/x:description/@run-as
Many thanks to the many XSpec contributors who made this release possible