clj-test-containers.core

(source)
Public Variable Short Description
bind-filesystem! (clj) Binds a source from the filesystem to the given container path.
copy-file-to-container! (clj) If a container is not yet started, adds a mapping from mountable file to container path that will be copied to the container on startup.
create (clj) Creates a generic testcontainer and sets its properties.
create-from-docker-file (clj) Creates a testcontainer from a provided Dockerfile.
create-network (clj) Creates a network.
dump-logs (clj) Dumps the logs found by invoking the function on the :string-log key.
execute-command! (clj) Executes a command in the container, and returns the result.
init (clj) Sets the properties for a testcontainer instance.
init-network (clj)
log (clj) Sets a log strategy on the container as a means of accessing the container logs.
map-classpath-resource! (clj) Maps a resource in the classpath to the given container path.
perform-cleanup! (clj) Stops and removes all container instances which were created in the active JVM or REPL session.
start! (clj) Starts the underlying testcontainer instance and adds new values to the response map, e.g.
started-instances (clj)
stop! (clj) Stops the underlying container.
wait (clj) Sets a wait strategy to the container.