pub struct TestDecl {
pub name: StringLiteral,
pub workflow: Option<Ident>,
pub clauses: Vec<TestClause>,
pub span: SourceSpan,
}Expand description
A deterministic test scenario (spec/workflow-testing.md). Validated by
whip check; excluded from compile/run IR; executed by whip test.
Fields§
§name: StringLiteral§workflow: Option<Ident>Optional workflow <Name> header binding the scenario to one workflow
in a multi-workflow bundle (spec/workflow-testing.md). Single-workflow
files may omit it and bind implicitly.
clauses: Vec<TestClause>§span: SourceSpanTrait Implementations§
impl Eq for TestDecl
impl StructuralPartialEq for TestDecl
Auto Trait Implementations§
impl Freeze for TestDecl
impl RefUnwindSafe for TestDecl
impl Send for TestDecl
impl Sync for TestDecl
impl Unpin for TestDecl
impl UnsafeUnpin for TestDecl
impl UnwindSafe for TestDecl
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