(-format-message filename {:keys [message name rule-type]})(-format-message filename rule-type name message)(test inputs & rules)Validate rules against all given inputs. If all rules validate correctly, returns summary report. If any rules
do not validate correctly, will return failure report.
inputs either accepts a map of filenames-to-data or a vec of data. Data can be any data structure.
rules either accepts functions, malli schemas, vars, or namespaces.
Validate `rules` against all given `inputs`. If all rules validate correctly, returns summary report. If any rules do not validate correctly, will return failure report. `inputs` either accepts a map of filenames-to-data or a vec of data. Data can be any data structure. `rules` either accepts functions, malli schemas, vars, or namespaces.
(test! inputs & rules)Validate rules against all given inputs. If all rules validate correctly, returns summary report. If any rules
do not validate correctly, function will throw.
inputs either accepts a map of filenames-to-data or a vec of data. Data can be any data structure.
rules either accepts functions, malli schemas, vars, or namespaces.
Validate `rules` against all given `inputs`. If all rules validate correctly, returns summary report. If any rules do not validate correctly, function will throw. `inputs` either accepts a map of filenames-to-data or a vec of data. Data can be any data structure. `rules` either accepts functions, malli schemas, vars, or namespaces.
(test-with-opts inputs rules)(test-with-opts inputs rules opts)Validate rules against all given inputs. If all rules validate correctly, returns summary report. If any rules
do not validate correctly, will return failure report.
inputs either accepts a map of filenames-to-data or a vec of data. Data can be any data structure.
rules either accepts a vector of functions, malli schemas, vars, or namespaces.
opts optionally accepts a map of options with support for following configuration:
:fail-on-warn, returns failure report if warn policies fail:trace, returns trace reportValidate `rules` against all given `inputs`. If all rules validate correctly, returns summary report. If any rules do not validate correctly, will return failure report. `inputs` either accepts a map of filenames-to-data or a vec of data. Data can be any data structure. `rules` either accepts a vector of functions, malli schemas, vars, or namespaces. `opts` optionally accepts a map of options with support for following configuration: - `:fail-on-warn`, returns failure report if warn policies fail - `:trace`, returns trace report
(test-with-opts! inputs rules)(test-with-opts! inputs rules opts)Validate rules against all given inputs. If all rules validate correctly, returns summary report. If any rules
do not validate correctly, function will throw.
inputs either accepts a map of filenames-to-data or a vec of data. Data can be any data structure.
rules either accepts a vector of functions, malli schemas, vars, or namespaces.
opts optionally accepts a map of options with support for following configuration:
:fail-on-warn, throws if warn policies fail:trace, returns trace report, prints trace report if function throwsValidate `rules` against all given `inputs`. If all rules validate correctly, returns summary report. If any rules do not validate correctly, function will throw. `inputs` either accepts a map of filenames-to-data or a vec of data. Data can be any data structure. `rules` either accepts a vector of functions, malli schemas, vars, or namespaces. `opts` optionally accepts a map of options with support for following configuration: - `:fail-on-warn`, throws if warn policies fail - `:trace`, returns trace report, prints trace report if function throws
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |