pub struct TestGroup {
pub name: String,
pub start_url: Option<String>,
pub auto_navigate: Option<bool>,
pub base_url: Option<String>,
pub timeout_secs: Option<u64>,
pub browser_headless: Option<bool>,
pub budget: Option<BudgetDef>,
pub endpoint: Option<String>,
pub steps: Vec<TestStep>,
}Expand description
A group of steps that form a single test scenario.
Fields§
§name: StringHuman-readable test name.
start_url: Option<String>Override the global start_url for this test.
Override the global auto_navigate for this test.
base_url: Option<String>Override the global base_url for this test.
timeout_secs: Option<u64>Override the global timeout_secs for this test.
browser_headless: Option<bool>Override the global browser_headless for this test.
budget: Option<BudgetDef>Per-test budget override.
endpoint: Option<String>Endpoint to use for all steps in this test (can be overridden per-step).
steps: Vec<TestStep>Ordered steps to execute.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestGroup
impl<'de> Deserialize<'de> for TestGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestGroup
impl RefUnwindSafe for TestGroup
impl Send for TestGroup
impl Sync for TestGroup
impl Unpin for TestGroup
impl UnsafeUnpin for TestGroup
impl UnwindSafe for TestGroup
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