pub struct TestRunner {
pub platform: Platform,
pub timeout: Duration,
pub retry_count: u32,
}Expand description
Main test runner orchestrating execution across platforms
Fields§
§platform: Platform§timeout: Duration§retry_count: u32Implementations§
Source§impl TestRunner
impl TestRunner
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Set execution timeout
Sourcepub fn with_retry_count(self, count: u32) -> Self
pub fn with_retry_count(self, count: u32) -> Self
Set retry count
Sourcepub async fn run_test(&self, fixture: &TestFixture) -> Result<TestResult>
pub async fn run_test(&self, fixture: &TestFixture) -> Result<TestResult>
Run a fixture test with orchestration (T018)
Sourcepub async fn run_with_native(
&self,
fixture: &TestFixture,
ggen_path: PathBuf,
) -> Result<TestResult>
pub async fn run_with_native( &self, fixture: &TestFixture, ggen_path: PathBuf, ) -> Result<TestResult>
Run with native executor (macOS)
Auto Trait Implementations§
impl Freeze for TestRunner
impl RefUnwindSafe for TestRunner
impl Send for TestRunner
impl Sync for TestRunner
impl Unpin for TestRunner
impl UnwindSafe for TestRunner
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