Expand description
Support for testing using Docker containers.
The Container type is a builder for configuring a container to run.
After you call launch, you can use the ContainerHandle to interact
with the running container.
Tests using containers must use #[cargo_test(container_test)] to disable
them unless the CARGO_CONTAINER_TESTS environment variable is set.
Re-exportsยง
use cargo_util::ProcessBuilder;๐use std::collections::HashMap;๐use std::io::Read;๐use std::path::PathBuf;๐use std::process::Command;๐use std::sync::Mutex;๐use std::sync::atomic::AtomicUsize;๐use std::sync::atomic::Ordering;๐use tar::Header;๐
Structsยง
- Container
- A builder for configuring a container to run.
- Container
Handle - A handle to a running container.
- MkFile
- Builder for configuring a file to copy into a container.
Functionsยง
- remove_
if_ ๐exists