Liking cljdoc? Tell your friends :D

fulcro-spec.core


=check=>clj

source

assertionsclj/smacro

(assertions & forms)
source

asyncclj/smacro

(async tm cb)

Adds an event to the event queue with the specified time and callback function. Must be wrapped by with-timeline.

Adds an event to the event queue with the specified time and callback function.
Must be wrapped by with-timeline.
sourceraw docstring

behaviorclj/smacro

(behavior & args)

Adds a new string to the list of testing contexts. May be nested, but must occur inside a specification. If the behavior is not machine testable then include the keyword :manual-test just after the behavior name instead of code.

(behavior "blows up when the moon is full" :manual-test)

Adds a new string to the list of testing contexts.  May be nested,
but must occur inside a specification. If the behavior is not machine
testable then include the keyword :manual-test just after the behavior name
instead of code.

(behavior "blows up when the moon is full" :manual-test)
sourceraw docstring

componentclj/smacro

(component & args)

An alias for behavior. Makes some specification code easier to read where a given specification is describing subcomponents of a whole.

An alias for behavior. Makes some specification code easier to read where a given specification is describing subcomponents of a whole.
sourceraw docstring

generated-stubclj/smacro

(generated-stub f)

Returns a function that can behave just like f (which must be a symbol), but that will simply verify arguments according to its :args spec and then return a value that conforms to that function's :ret spec.

Returns a function that can behave just like `f` (which must be a symbol), but that will simply verify
arguments according to its `:args` spec and then return a value that conforms to that function's `:ret` spec.
sourceraw docstring

providedclj/smacro

(provided string & forms)

A macro for using a Midje-style provided clause within any testing framework. This macro rewrites assertion-style mocking statements into code that can do that mocking. See the clojure.spec for ::p/mocks. See the doc string for p/parse-arrow-count.

A macro for using a Midje-style provided clause within any testing framework.
This macro rewrites assertion-style mocking statements into code that can do that mocking.
See the clojure.spec for `::p/mocks`.
See the doc string for `p/parse-arrow-count`.
sourceraw docstring

provided!clj/smacro

(provided! description & forms)

Just like provided, but forces mocked functions to conform to the spec of the original function (if available).

Just like `provided`, but forces mocked functions to conform to the spec of the original function (if available).
sourceraw docstring

specificationclj/smacro

(specification & args)

Defines a specification which is translated into a what a deftest macro produces with report hooks for the description. Technically outputs a deftest with additional output reporting. When load-tests is false, the specification is ignored.

Defines a specification which is translated into a what a deftest macro produces with report hooks for the
description. Technically outputs a deftest with additional output reporting.
When *load-tests* is false, the specification is ignored.
sourceraw docstring

tickclj/smacro

(tick tm)

Advances the timer by the specified number of ticks. Must be wrapped by with-timeline.

Advances the timer by the specified number of ticks.
Must be wrapped by with-timeline.
sourceraw docstring

var-name-from-stringclj

(var-name-from-string s)
source

when-mockingclj/smacro

(when-mocking & forms)

A macro that works just like 'provided', but requires no string and outputs no extra text in the test output. See the clojure.spec for ::p/mocks. See the doc string for p/parse-arrow-count.

A macro that works just like 'provided', but requires no string and outputs no extra text in the test output.
See the clojure.spec for `::p/mocks`.
See the doc string for `p/parse-arrow-count`.
sourceraw docstring

when-mocking!clj/smacro

(when-mocking! & forms)

Just like when-mocking, but forces mocked functions to conform to the spec of the original function (if available).

Just like when-mocking, but forces mocked functions to conform to the spec of the original function (if available).
sourceraw docstring

with-timelineclj/smacro

(with-timeline & forms)

Adds the infrastructure required for doing timeline testing

Adds the infrastructure required for doing timeline testing
sourceraw docstring

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

× close