vibe-tests 0.0.1

Integration test framework for MCP servers with LLM-powered tool calling.
Documentation
//! Shutdown environment passed to on_stop callback.
//! Called before compose down and home directory cleanup.

use std::{collections::HashMap, path::PathBuf, time::Duration};

use crate::engine::engine_report::EngineReport;

/// Environment provided at engine shutdown.
/// Use for cleanup, saving artifacts, logging final statistics.
pub struct EnvStop {
    /// Isolated home directory. Will be deleted after this callback returns.
    pub home: PathBuf,
    /// Path to raw log file. Copy it before returning if you want to keep it.
    pub log_file: PathBuf,
    /// Total wall-clock time since engine startup.
    pub duration: Duration,
    /// Data passed from on_start callback.
    pub data: Option<HashMap<String, String>>,
    /// Test report parsed from log file.
    pub report: EngineReport,
}