public interface TestEnvironmentExecutor
| Modifier and Type | Interface and Description |
|---|---|
static class |
TestEnvironmentExecutor.Constants |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Frees all resources for accessing/creating environment
|
void |
createNetwork()
Creates network for the environment.
|
void |
execScript(List<String> id,
String serviceName,
String script)
Execute script in running environment
|
List<String> |
run(TestEnvironment testEnvironment)
Run test environment
|
default String |
scriptExecCommand(String script)
Prepares command which will be executed inside docker container.
|
void |
stopAndRemove(List<String> ids)
Stop and remove environment
|
List<String> run(TestEnvironment testEnvironment)
testEnvironment - test environmentvoid stopAndRemove(List<String> ids)
ids - environment ids (containers, docker-compose.yml files)void close()
void execScript(List<String> id, String serviceName, String script)
id - Id of the environment.serviceName - Service name in running environment.script - Script to executevoid createNetwork()
default String scriptExecCommand(String script)
script - The script name.Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.