sevenbridges (version 1.2.4)

set_test_env: Set testing env

Description

Checks if docker is installed, is running and has required images downloaded and if do creates container

Usage

set_test_env(type, docker_image, data_dir)

Arguments

type
"dind" or "host"
docker_image
required docker image with pre-installed bunny, default: tengfei/testenv
data_dir
directory with data to mount (also will be execution directory)

Value

docker stdout

Examples

Run this code
## Not run: 
# set_test_env("dind", "tengfei/testenv", "/Users/<user>/tools")
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace