initDockerSuite
initDockerSuite(
srcPath,options?):DockerSuiteContext
Defined in: docker/init-docker-suite.ts:72
Initializes a Docker test suite: builds the image at srcPath once, runs a
container per test, and removes both afterwards.
Every name it generates carries a random per-suite id, so two suites running concurrently — including two runs of the same file — never share an image tag or a container name, and neither one’s cleanup can remove the other’s.
Parameters
Section titled “Parameters”srcPath
Section titled “srcPath”string
The build context to build the suite’s image from.
options?
Section titled “options?”Options for the suite.
Returns
Section titled “Returns”The names the suite generated, for tests that need to address them.