Liking cljdoc? Tell your friends :D

mockfn.macros


callingclj/s

(calling func)

Invoke mocked value as a function instead of returning it.

Invoke mocked value as a function instead of returning it.
sourceraw docstring

providingclj/smacro

(providing bindings & body)

Mocks functions.

Mocks functions.
source (clj)source (cljs)raw docstring

unmockedclj/s

Invoke the original implementation of the mocked function.

Invoke the original implementation of the mocked function.
sourceraw docstring

verifyingclj/smacro

(verifying bindings & body)

Mocks functions and verifies calls.

Mocks functions and verifies calls.
source (clj)source (cljs)raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close