Struct runt::picker::toml::SuiteConfig
source · pub struct SuiteConfig {
pub name: String,
pub paths: Vec<String>,
pub cmd: String,
pub expect_dir: Option<PathBuf>,
pub timeout: Option<u64>,
}
Expand description
Configuration for a test suite.
Fields§
§name: String
Name of this TestSuite
paths: Vec<String>
Paths of input files.
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: Option<u64>
Optional timeout
Trait Implementations§
source§impl Debug for SuiteConfig
impl Debug for SuiteConfig
source§impl<'de> Deserialize<'de> for SuiteConfig
impl<'de> Deserialize<'de> for SuiteConfig
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
source§impl From<SuiteConfig> for Suite
impl From<SuiteConfig> for Suite
source§fn from(conf: SuiteConfig) -> Self
fn from(conf: SuiteConfig) -> Self
Transform a list of glob patterns into matching paths and list of errors.
Auto Trait Implementations§
impl RefUnwindSafe for SuiteConfig
impl Send for SuiteConfig
impl Sync for SuiteConfig
impl Unpin for SuiteConfig
impl UnwindSafe for SuiteConfig
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