(>defn name
doc-string?
attr-map?
([params*] gspec prepost-map? body?)
+
attr-map?)
(>defn name doc-string? attr-map? [params*] gspec prepost-map? body?)
Like defn, but requires a (nilable) gspec definition and generates additional s/fdef, generative tests, instrumentation code, an fspec-based stub, and/or tracing code, depending on the configuration metadata and the existence of a valid gspec and non-nil body.
Like defn, but requires a (nilable) gspec definition and generates additional s/fdef, generative tests, instrumentation code, an fspec-based stub, and/or tracing code, depending on the configuration metadata and the existence of a valid gspec and non-nil body.
(>defn- name
doc-string?
attr-map?
([params*] gspec prepost-map? body?)
+
attr-map?)
(>defn- name doc-string? attr-map? [params*] gspec prepost-map? body?)
Like defn-, but requires a (nilable) gspec definition and generates additional s/fdef, generative tests, instrumentation code, an fspec-based stub, and/or tracing code, depending on the configuration metadata and the existence of a valid gspec and non-nil body.
Like defn-, but requires a (nilable) gspec definition and generates additional s/fdef, generative tests, instrumentation code, an fspec-based stub, and/or tracing code, depending on the configuration metadata and the existence of a valid gspec and non-nil body.
(>fdef name [params*] gspec)
(>fdef name ([params*] gspec) +)
Defines an fspec, supports gspec syntax. name
can be a symbol
or a qualified keyword, depending on whether the fspec is meant
to be registered as a top-level fspec (=> s/fdef fn-sym ...) or
used in other specs (=> s/def ::spec-keyword (s/fspec ...)).
Defines an fspec, supports gspec syntax. `name` can be a symbol or a qualified keyword, depending on whether the fspec is meant to be registered as a top-level fspec (=> s/fdef fn-sym ...) or used in other specs (=> s/def ::spec-keyword (s/fspec ...)).
(check & post-check-callbacks)
Runs all tests in the namespace. The optional callbacks are for a
hot-reloading environment and will be executed only if all reloaded
namespaces test successfully and ghostwheel.core/post-check-async
is called correctly from your build system after reloading.
Runs all tests in the namespace. The optional callbacks are for a hot-reloading environment and will be executed only if all reloaded namespaces test successfully and `ghostwheel.core/post-check-async` is called correctly from your build system after reloading.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close