Liking cljdoc? Tell your friends :D

nedap.utils.test.api


expectclj/smacro

(expect & forms)

Asserts (via #'clojure.test/is) that the expression denoted by to-change changes from from, to to.

(expect (swap! a inc) :to-change @a :from 1 :to 2)

Asserts (via `#'clojure.test/is`) that the expression denoted by `to-change` changes from `from`, to `to`.

`(expect (swap! a inc) :to-change @a :from 1 :to 2)`
sourceraw docstring

macroexpansion=clj/s

(macroexpansion= & xs)

Do all xs equal, when deeming any contained gensyms unconditionally equal?

Adequate for when the presence of gensyms would hinder a comparison.

Do all `xs` equal, when deeming any contained gensyms unconditionally equal?

Adequate for when the presence of gensyms would hinder a comparison.
sourceraw docstring

meta=clj/s

(meta= & xs)

Do all xs (and their metadata, and their members' metadata, and also any metametadata) equal?

Do all `xs` (and their metadata, and their members' metadata, and also any metametadata) equal?
sourceraw docstring

run-testsclj/smacro

(run-tests & namespaces)

Runs all tests for the given namespaces (defaulting to the current namespace if none given), printing the results.

When invoked under a cljs context, the Unix exit code will be set to 0 or 1, depending on success.

Runs all tests for the given namespaces (defaulting to the current namespace if none given),
printing the results.

When invoked under a cljs context, the Unix exit code will be set to 0 or 1, depending on success.
sourceraw docstring

simple=clj/sdeprecated

(simple= & vals)

Check whether all vals have similar structure disregarding possible order

NOTE: this function will disregard duplicates

Check whether all `vals` have similar structure disregarding possible order

NOTE: this function will disregard duplicates
sourceraw docstring

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

× close