pub struct Plan {
pub origin: Origin,
pub section: SectionId,
pub title: String,
pub slug: String,
pub start: Condition,
pub given: Vec<StepText>,
pub start_checks: Vec<Check>,
pub start_invariants: Vec<ExpId>,
pub steps: Vec<PlanStep>,
}Expand description
One acceptance test: arrange start, check it, then perform each step and check it.
Fields§
§origin: Origin§section: SectionIdThe section it belongs to, whose setup it starts from.
title: String§slug: String§start: Condition§given: Vec<StepText>§start_checks: Vec<Check>§start_invariants: Vec<ExpId>Invariants in force at the start.
steps: Vec<PlanStep>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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