vdev::testing::integration

Trait ComposeTestT

Source
pub(crate) trait ComposeTestT {
    const DIRECTORY: &'static str;
    const FEATURE_FLAG: &'static str;

    // Provided methods
    fn generate(
        test_name: impl Into<String>,
        environment: impl Into<String>,
        build_all: bool,
        retries: u8,
    ) -> Result<ComposeTest> { ... }
    fn test(compose_test: &ComposeTest, extra_args: Vec<String>) -> Result<()> { ... }
    fn start(compose_test: &ComposeTest) -> Result<()> { ... }
    fn stop(compose_test: &ComposeTest) -> Result<()> { ... }
}

Required Associated Constants§

Source

const DIRECTORY: &'static str

Source

const FEATURE_FLAG: &'static str

Provided Methods§

Source

fn generate( test_name: impl Into<String>, environment: impl Into<String>, build_all: bool, retries: u8, ) -> Result<ComposeTest>

Source

fn test(compose_test: &ComposeTest, extra_args: Vec<String>) -> Result<()>

Source

fn start(compose_test: &ComposeTest) -> Result<()>

Source

fn stop(compose_test: &ComposeTest) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ComposeTestT for E2ETest

Source§

const DIRECTORY: &'static str = E2E_TESTS_DIR

Source§

const FEATURE_FLAG: &'static str = E2E_FEATURE_FLAG

Source§

impl ComposeTestT for IntegrationTest

Source§

const DIRECTORY: &'static str = INTEGRATION_TESTS_DIR

Source§

const FEATURE_FLAG: &'static str = INTEGRATION_FEATURE_FLAG