(-any-failures? result opts)
(-count-results m results)
(-failure-report result {:keys [trace] :as opts})
(-failure? rule-type result)
(-filter-results results {:keys [fail-on-warn]})
(-format-message filename {:keys [message name rule-type]})
(-format-message filename rule-type name message)
(-resolve-functions rules)
(-resolve-ns-functions namespace)
(-summary result)
(-summary-report result {:keys [trace] :as _opts})
(-test inputs rule {:keys [trace] :as _opts})
(-trace-entries filename results)
(-trace-report result)
(message-or-nil x)
(messages-or-nil x)
(rule-function rule)
(rule-message rule)
(rule-name rule)
(rule-type rule)
(rule? x)
(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, 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, 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, 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, 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, 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, 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, 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, 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 is a website building & hosting documentation for Clojure/Script libraries
× close