Liking cljdoc? Tell your friends :D
Clojure only.

spy.protocol


mockcljmacro

(mock & opts+specs)

Creates an implementation via clojure.core/reify and a wrapper to spy on the implementation, forwards all calls to the implementation and records calsl in spies. Matches the signature and can be used directly instead of clojure.core/reify

Creates an implementation via `clojure.core/reify` and
a wrapper to spy on the implementation, forwards all calls
to the implementation and records calsl in spies. Matches the
signature and can be used directly instead of `clojure.core/reify`
sourceraw docstring

spiesclj

(spies instance)
source

spycljmacro

(spy protocol instance)

Reify the protocol, spies attached to the reified object via metadata

Reify the protocol, spies attached to the reified object via metadata
sourceraw 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