Liking cljdoc? Tell your friends :D

fulcro-spec.core


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

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

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

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