pub struct IrTest {
pub name: String,
pub workflow: Option<String>,
pub clauses: Vec<TestClause>,
pub span: SourceSpan,
}Expand description
A lowered test scenario (spec/workflow-testing.md). Tests are excluded from
the executable IR (compile/run ignore them); whip check validates them
and whip test runs them. The clause detail is retained for the harness.
Fields§
§name: String§workflow: Option<String>§clauses: Vec<TestClause>§span: SourceSpanTrait Implementations§
impl Eq for IrTest
impl StructuralPartialEq for IrTest
Auto Trait Implementations§
impl Freeze for IrTest
impl RefUnwindSafe for IrTest
impl Send for IrTest
impl Sync for IrTest
impl Unpin for IrTest
impl UnsafeUnpin for IrTest
impl UnwindSafe for IrTest
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