5 releases
new 0.1.5 | Mar 24, 2025 |
---|---|
0.1.4 | Mar 24, 2025 |
0.1.3 | Mar 24, 2025 |
0.1.2 | Mar 24, 2025 |
0.1.1 | Mar 21, 2025 |
#5 in #xslt
75 downloads per month
270KB
5.5K
SLoC
xee-testrunner
This is a test runner that can run the XPath conformance test suite in the Xee project. Work on enabling the XSLT conformance test suite is in progress.
We have added both the XPath conformance test
suite and the XSLT conformance test
suite under the vendor
directory of
this project, as vendor/xpath-tests
and vendor/xslt-tests
.
The test runner will in the future detect automatically whether you're running the XPath or XSLT tests, and adjust its behavior accordingly.
You can install this test runner using cargo install
, but that makes it
difficult to check immediately against changes in the Xee codebase itself,
which is what is it for. The instructions here describe how to run the tests
against the current state of the Xee project. We compile in --release
mode as
otherwise running the tests takes a long time.
To check against regressions, run:
cargo run --release -- check ../vendor/xpath-tests/
or (in the future)
cargo run --release -- check ../vendor/xslt-tests/
To run all tests (for XPath or XSLT):
cargo run --release -- all ../vendor/xpath-tests/
cargo run --release -- all ../vendor/xslt-tests/
You can run the tests and update the regression filter accordingly:
cargo run --release -- update ../vendor/xpath-tests/
See the hacking guide of the Xee project to see how this can be used during development.
This is a development tooling crate of the Xee
project. For the API entry point see
xee-xpath
. For the xee
commandline tool, download a
release.
More Xee
Credits
This project was made possible by the generous support of Paligo.
Dependencies
~32–44MB
~732K SLoC