Liking cljdoc? Tell your friends :D

docker.fixture

Docker-based clojure.test fixture

Docker-based clojure.test fixture
raw docstring

hostclj

Get the container host; try docker-machine, default to localhost

Get the container host; try docker-machine, default to localhost
sourceraw docstring

new-containerclj

(new-container {:keys [cmd sleep]})

Create a new docker container using cmd, waiting for sleep for the container to become ready

Create a new docker container using cmd, waiting for sleep for the container to become ready
sourceraw docstring

new-fixtureclj

(new-fixture {:keys [cmd sleep init-fn] :or {init-fn identity sleep 1000}})

A new test fixture using the docker cmd, sleeping for sleep ms before allowing test to continue, then running init-fn for side effects, a fn taking an argument of component.

A new test fixture using the docker cmd, sleeping for sleep ms
before allowing test to continue, then running init-fn for side
effects, a fn taking an argument of component.
sourceraw docstring

rand-portclj

(rand-port)

Get a string representation of a random TCP port in the ephemeral range

Get a string representation of a random TCP port in the ephemeral range
sourceraw docstring

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

× close