xee-testrunner

Crates.ioxee-testrunner
lib.rsxee-testrunner
version
sourcesrc
created_at2025-03-21 11:32:58.256275+00
updated_at2025-03-24 16:26:16.768937+00
descriptionConformance testing for Xee's XPath and XSLT implementations
homepagehttps://github.com/Paligo/xee
repositoryhttp://github.com/Paligo/xee
max_upload_size
id1600389
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
xee-team (github:paligo:xee-team)

documentation

https://docs.rs/xee-testrunner

README

xee-testrunner

Crates.io Documentation

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

Xee homepage

Credits

This project was made possible by the generous support of Paligo.

Commit count: 0

cargo fmt