hello. according to <https://docs.cerbos.dev/cerbo...
# help
j
hello. according to https://docs.cerbos.dev/cerbos/latest/policies/compile.html#_running_tests,
To run the tests, provide the path to the tests directory using the --tests flag.
However, I've found that if I do not provide the
--tests
flag, the
cerbos
binary still goes ahead and self-discovers the test yamls and runs them.
c
Earlier Cerbos versions used to require tests stored in a different directory so that's why that flag still exists. If you don't want to discover and run the tests automatically, use
--skip-tests
.
j
Thank you