From fb828b7caaa59056fc0d92712938ed2dc6f15747 Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Mon, 16 Sep 2024 12:46:46 +0200 Subject: [PATCH] docs: --filter --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f4f5c0c..362a234 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ npx shacl-test \ --shapes=${SHAPES} \ --valid-cases="${VALID_CASES_GLOB}" \ --invalid-cases="${INVALID_CASES_GLOB}" \ + --filter="${FILTER}" \ --approve \ --debug \ --prefixes=${PREFIXES} \ @@ -29,6 +30,8 @@ Only the `--shapes` option is required. The rest are optional. `--valid-cases` and `--invalid-cases` are globs that match the test cases. Make sure to put them in quotes to avoid shell expansion. +`--filter` is a regular expression to filter the test cases. + `--approve` will approve the validation reports for the negative test cases instead of failing. `--debug` will print the validation report for each test case.