testcontainers 0.25.0

A library for integration-testing against docker containers from within Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{core::copy::CopyToContainerCollection, Image};

pub trait BuildableImage {
    type Built: Image;

    fn build_context(&self) -> CopyToContainerCollection;
    fn descriptor(&self) -> String;

    fn into_image(self) -> Self::Built;
}