@Retention(value=RUNTIME) @Target(value=TYPE) @Repeatable(value=RepeatableVolume.class) public @interface Volume
It can be easily leveraged to mount test config during tests execution.
| Modifier and Type | Required Element and Description |
|---|---|
String |
container |
String |
host |
| Modifier and Type | Optional Element and Description |
|---|---|
Volume.AccessMode |
accessMode |
boolean |
useClasspath
If set to true, it tells Dockerunit to treat the host path as a path that is relative to the test classpath.
|
public abstract String host
public abstract String container
public abstract boolean useClasspath
If set to false, the value of host will be treated as an absolute path.
public abstract Volume.AccessMode accessMode
Copyright © 2021. All rights reserved.