Crates.io | shex_testsuite |
lib.rs | shex_testsuite |
version | 0.1.30 |
source | src |
created_at | 2023-10-13 13:37:48.057345 |
updated_at | 2024-10-08 11:46:40.092943 |
description | RDF data shapes implementation in Rust |
homepage | https://rudof-project.github.io/rudof |
repository | https://github.com/rudof-project/rudof |
max_upload_size | |
id | 1002314 |
size | 3,422,305 |
This module contains the code that runs the ShEx testsuite for the ShEx implementation written in Rust.
It has a command line interface that can be used to run some specific tests.
Usage: shex_testsuite [OPTIONS]
Options:
-m, --manifest <Manifest FILE (.jsonld)>
Name of Manifest file [default: shex_testsuite/shexTest/validation/manifest.jsonld]
-c, --config <Config file>
[default: shex_testsuite/config.yml]
-x, --run_mode <MANIFEST_RUN_MODE>
[default: collect-errors] [possible values: collect-errors, fail-first-error]
-f, --manifest_mode <MANIFEST_MODE>
[possible values: schemas, validation, negative-syntax, negative-structure]
-p, --print_result_mode <PRINT_RESULT_MODE>
[default: basic] [possible values: basic, failed, passed, not-implemented, all]
-e, --entry <Entry names>
-t, --trait <Trait names>
-h, --help
Print help
-V, --version
Print version
By default it runs the validation tests and shows some statistics
cargo run -p shex_testsuite
Passed: 244, Failed: 340, Skipped: 24, Not implemented: 558
Run testsuite to check that the well-formed schemas are read
cargo run -p shex_testsuite -- -p failed -m shex_testsuite/shexTest/schemas/manifest.jsonld -f schemas