vdev 0.3.1

CLI utilities for Vector (vector.dev) development and CI workflows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use anyhow::Result;

use crate::testing::config::ComposeTestConfig;

pub(crate) fn exec(path: &str) -> Result<()> {
    // paths for each integration are defined in their respective config files.
    for (test_name, config) in ComposeTestConfig::collect_all(path)? {
        if let Some(paths) = config.paths {
            println!("{test_name}:");
            for path in paths {
                println!("- {path:?}");
            }
        }
    }

    Ok(())
}