Liking cljdoc? Tell your friends :D

nedap.utils.test.impl


expectclj/s

(expect bodies {:keys [to-change from to with] :as opts} clj?)
source

expect-matcherclj/smultimethod

Given a symbol returns :assert-expr-sym, :pred-sym and :pred.

  • :assert-expr-sym is used to construct the is form to preserve clojure.tes/assert-expr behaviour.
  • :pred is used to assert validity on compile time.
  • :pred-sym is used to assert validity on runtime.
  • :pred-sym-failure message format used when pred-sym assert fails
  • :pred-failure message format used when pred assert fails

These nuances exist for interoperability between clj and cljs runtime.

Given a symbol returns :assert-expr-sym, :pred-sym and :pred.

- `:assert-expr-sym` is used to construct the `is` form to preserve clojure.tes/assert-expr behaviour.
- `:pred` is used to assert validity on compile time.
- `:pred-sym` is used to assert validity on runtime.
- `:pred-sym-failure` message format used when pred-sym assert fails
- `:pred-failure` message format used when pred assert fails

These nuances exist for interoperability between clj and cljs runtime.
sourceraw docstring

meta=clj/s

(meta= xs)
source

quoted-namespace?clj/s

(quoted-namespace? x)
source

replace-gensymsclj/s

(replace-gensyms form)
source

set-exit-code-for!cljs

(set-exit-code-for! summary process-object)
source

simplifyclj/s

(simplify val)

Transforms records into maps and Sequential collections into sets, identity otherwise.

NOTE: this will remove duplicates

Transforms records into maps and Sequential collections into sets, identity otherwise.

NOTE: this will remove duplicates
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close