Liking cljdoc? Tell your friends :D

jackdaw.test.fixtures


default-reset-fnclj

(default-reset-fn rt args)
source

delete-recursivelyclj

(delete-recursively fname)
source

empty-state-fixtureclj

(empty-state-fixture app-config)
source

integration-fixtureclj

(integration-fixture build-fn
                     {:keys [broker-config topic-metadata app-config enable?]})
source

kstream-fixtureclj

(kstream-fixture {:keys [topology config]})

Returns a fixture that builds and starts kafka streams for the supplied topology before running the test function (and then tears it down when the test is complete).

compose-fixtures or join-fixtures may be used to build fixtures combine topologies

Returns a fixture that builds and starts kafka streams for the supplied topology
before running the test function (and then tears it down when the test is
complete).

`compose-fixtures` or `join-fixtures` may be used to build fixtures combine
topologies
sourceraw docstring

list-topicsclj

(list-topics client)
source

reset-application-fixtureclj

(reset-application-fixture app-config)
(reset-application-fixture app-config reset-args)
(reset-application-fixture app-config reset-args reset-fn)

Returns a fixture that runs the kafka.tools.StreamsResetter with the supplied reset-args as parameters

Returns a fixture that runs the kafka.tools.StreamsResetter with the supplied
`reset-args` as parameters
sourceraw docstring

service-ready?clj

(service-ready? {:keys [http-url http-params timeout]})
source

skip-to-endclj

(skip-to-end {:keys [topic config]})

Returns a fixture that skips to the end of the supplied topic before running the test function

Returns a fixture that skips to the end of the supplied topic before running
the test function
sourceraw docstring

topic-fixtureclj

(topic-fixture kafka-config topic-config)
(topic-fixture kafka-config topic-config timeout-ms)

Returns a fixture function that creates all the topics named in the supplied topic config before running a test function.

Returns a fixture function that creates all the topics named in the supplied
topic config before running a test function.
sourceraw docstring

with-fixturescljmacro

(with-fixtures fixtures & body)
source

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

× close