Liking cljdoc? Tell your friends :D

datasplash.testing

Namespace of various utilities to test pipelines.

Namespace of various utilities to test pipelines.
raw docstring

generateclj

(generate p)
(generate values p)
(generate values options p)

Like datasplash.api/generate-input but uses a unique name. Useful in TestPipeline where ptranforms cannot have the same name.

Like `datasplash.api/generate-input` but uses a unique name.
Useful in TestPipeline where ptranforms **cannot** have the same name.
sourceraw docstring

run-test-pipelineclj

(run-test-pipeline topology)

Runs a Pipeline and waits until it finishes to assert execution state.

Runs a Pipeline and waits until it finishes to assert execution state.
sourceraw docstring

test-pipelineclj

(test-pipeline)

Returns a TestPipeline.

Returns a TestPipeline.
sourceraw docstring

with-test-pipelinecljmacro

(with-test-pipeline bindings & body)

Syntactic sugar to run a test pipeline. Use bindings vector to initialize options and create a pipeline. The pipeline creation must be the last binding.

(with-test-pipeline [p (test-pipeline)]
  (generate [:a :b :c] p))
Syntactic sugar to run a test pipeline.
Use bindings vector to initialize options and create a pipeline.
The pipeline creation must be the last binding.

```
(with-test-pipeline [p (test-pipeline)]
  (generate [:a :b :c] p))
```
sourceraw docstring

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

× close