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