Skip to main content

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
17	pub ControllerIdentifier:String,
18
19	pub Status:TestRunStatus::Enum,
20
21	pub StartedAt:std::time::Instant,
22
23	pub Results:HashMap<String, TestResult::Struct>,
24}