pub struct ProjectConfig {Show 17 fields
pub name: String,
pub test_match: Option<Vec<String>>,
pub test_ignore: Option<Vec<String>>,
pub test_dir: Option<String>,
pub browser: Option<BrowserConfig>,
pub output_dir: Option<String>,
pub snapshot_dir: Option<String>,
pub retries: Option<u32>,
pub timeout: Option<u64>,
pub repeat_each: Option<u32>,
pub fully_parallel: Option<bool>,
pub grep: Option<String>,
pub grep_invert: Option<String>,
pub dependencies: Vec<String>,
pub teardown: Option<String>,
pub metadata: Value,
pub tag: Option<Vec<String>>,
}Expand description
Project configuration – matches Playwright’s TestProject.
Fields§
§name: String§test_match: Option<Vec<String>>§test_ignore: Option<Vec<String>>§test_dir: Option<String>§browser: Option<BrowserConfig>§output_dir: Option<String>§snapshot_dir: Option<String>§retries: Option<u32>§timeout: Option<u64>§repeat_each: Option<u32>§fully_parallel: Option<bool>§grep: Option<String>§grep_invert: Option<String>§dependencies: Vec<String>§teardown: Option<String>§metadata: Value§tag: Option<Vec<String>>Trait Implementations§
Source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
Source§fn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectConfig
impl Debug for ProjectConfig
Source§impl Default for ProjectConfig
impl Default for ProjectConfig
Source§impl<'de> Deserialize<'de> for ProjectConfigwhere
ProjectConfig: Default,
impl<'de> Deserialize<'de> for ProjectConfigwhere
ProjectConfig: Default,
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 ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfig
impl UnwindSafe for ProjectConfig
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