pub struct Config {
pub name: String,
pub cmd: String,
pub expect_dir: Option<PathBuf>,
pub timeout: Duration,
}
Expand description
Configuration for a test suite.
Fields§
§name: String
Name of this TestSuite
cmd: String
Command to execute. The pattern {}
in this string is replaced with
the matching path.
expect_dir: Option<PathBuf>
Optional directory to store the generated .expect files.
timeout: Duration
Optional timeout for the tests specified in seconds. Defaults to 1200 seconds.
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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