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 is a website building & hosting documentation for Clojure/Script libraries

× close