pub struct ScenarioFile {
pub label: String,
pub config: ScenarioConfig,
pub definitions: Vec<AssertDefinition>,
pub tests: Vec<TestGroup>,
}Expand description
Runs one scenario file, ready for the scheduler. CLI overrides applied and viewport matrix expanded by the caller.
Fields§
§label: StringHuman-readable label (typically the file path) used in logs.
config: ScenarioConfigEffective scenario configuration for this file.
definitions: Vec<AssertDefinition>Reusable assertion definitions from this file.
tests: Vec<TestGroup>The (viewport-expanded) tests to run.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScenarioFile
impl RefUnwindSafe for ScenarioFile
impl Send for ScenarioFile
impl Sync for ScenarioFile
impl Unpin for ScenarioFile
impl UnsafeUnpin for ScenarioFile
impl UnwindSafe for ScenarioFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more