pub trait ContainerTestRunner: TestRunner {
Show 13 methods
// Required methods
fn container_name(&self) -> String;
fn image_name(&self) -> String;
fn network_name(&self) -> Option<&str>;
fn needs_docker_socket(&self) -> bool;
fn volumes(&self) -> Vec<String>;
// Provided methods
fn state(&self) -> Result<RunnerState> { ... }
fn ensure_running(
&self,
features: Option<&[String]>,
directory: &str,
) -> Result<()> { ... }
fn ensure_volumes(&self) -> Result<()> { ... }
fn build(&self, features: Option<&[String]>, directory: &str) -> Result<()> { ... }
fn start(&self) -> Result<()> { ... }
fn remove(&self) -> Result<()> { ... }
fn unpause(&self) -> Result<()> { ... }
fn create(&self) -> Result<()> { ... }
}