Liking cljdoc? Tell your friends :D

clj-headlights.test-helpers

Tools to test dataflow jobs

Tools to test dataflow jobs
raw docstring

assign-dummy-keyclj

(assign-dummy-key val)
source

cat-files-likeclj

(cat-files-like tempfile)
source

create-pcollclj

(create-pcoll elems)
(create-pcoll pipeline elems)
source

create-pcoll-KVsclj

(create-pcoll-KVs elems)
(create-pcoll-KVs pipeline elems)
source

create-test-pipelineclj

(create-test-pipeline)
source

get-data-from-sinksclj

(get-data-from-sinks sinks)
source

pcoll-containscljmacro

(pcoll-contains pcoll expected)
source

pcoll-counterclj

source

pcoll-iscljmacro

(pcoll-is expected-pcoll result-pcoll)
source

pcoll-matchesclj

(pcoll-matches expected-f pcoll)
source

pcoll-results-matchclj

(pcoll-results-match func)

Inputs: [func :- IFn] Returns: IFn

Checker that runs a pcoll's pipeline, gather its output, and passes it to func. If func throws or returns false, the test failed.

Example: see pcoll-contains

Inputs: [func :- IFn]
Returns: IFn

Checker that runs a pcoll's pipeline, gather its output, and passes it to `func`. If func throws or returns
false, the test failed.

Example: see `pcoll-contains`
sourceraw docstring

pcoll-to-dataclj

(pcoll-to-data pcoll)
source

pipeline-to-dataclj

(pipeline-to-data pcolls)
source

prn-cogbkresultclj

(prn-cogbkresult [id co-gbkresult])
source

sink-counterclj

source

sink-pcollclj

(sink-pcoll pcoll)
source

sink-pcollsclj

(sink-pcolls pcolls)
source

try-read-fileclj

(try-read-file file-name)
source

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

× close