pub struct ScenarioOutcome {
pub file: Arc<str>,
pub name: Arc<str>,
pub line: usize,
pub status: Status,
pub steps: Vec<StepOutcome>,
pub fault: Option<Fault>,
pub artifact_slug: Option<Arc<str>>,
}Expand description
One scenario’s outcome.
Fields§
§file: Arc<str>Feature file path.
name: Arc<str>Scenario name.
line: usize1-based header line.
status: StatusAggregate status.
steps: Vec<StepOutcome>Step outcomes, in execution order.
fault: Option<Fault>Non-test fault, when one occurred.
artifact_slug: Option<Arc<str>>Slug of the emitted artifact, when one exists (drives the CLI’s
reproduce: line — the emitter’s naming is never re-derived).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScenarioOutcome
impl RefUnwindSafe for ScenarioOutcome
impl Send for ScenarioOutcome
impl Sync for ScenarioOutcome
impl Unpin for ScenarioOutcome
impl UnsafeUnpin for ScenarioOutcome
impl UnwindSafe for ScenarioOutcome
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