XSpec v2.0.7 Released
November 29, 2020
Submitted by Sandro Cirulli.
We are pleased to announce the release of XSpec v2.0.7, the open source unit test and behaviour-driven development framework for XSLT, XQuery, and Schematron.
XSpec v2.0.7 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.0.7 release:
Common to Languages Under Test
- x:helper lets you integrate your own test helpers
@as
can be set inx:context
andx:expect
XSLT
- You can test XSLT packages and static parameters (experimental)
Schematron
- Compatible with SchXslt (not thoroughly tested)
- You can write advanced expressions in
@location
(e.g.<x:expect-assert location="//sec[@id='lower']" />
)
XQuery
- Text value templates
- Arrays and maps are reported in the same way as XSLT scenarios
Command Line
- New option
-e
treats failed tests as error
Oxygen
${xmlCatalogFilesList}
takes effect in the Run XSpec Test transformation scenario
Breaking Changes
- See #1121
Many thanks to the many XSpec contributors who made this release possible!