Skip to content

Commit

Permalink
docs: --filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 16, 2024
1 parent f6a334f commit fb828b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand All @@ -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.
Expand Down

0 comments on commit fb828b7

Please sign in to comment.