Mountain/Environment/TestProvider/TestRun.rs
1
2//! Active test run record: run identifier, owning controller, current
3//! status, start instant, and per-test results keyed by test
4//! identifier. Stored in `TestProviderState::Struct::ActiveRuns` for
5//! the duration of the run.
6
7use std::collections::HashMap;
8
9use crate::Environment::TestProvider::{TestResult, TestRunStatus};
10
11#[allow(dead_code)]
12#[derive(Debug, Clone)]
13pub struct Struct {
14 pub RunIdentifier:String,
15
16 pub ControllerIdentifier:String,
17
18 pub Status:TestRunStatus::Enum,
19
20 pub StartedAt:std::time::Instant,
21
22 pub Results:HashMap<String, TestResult::Struct>,
23}