pub struct RegexParserConfig {
pub pass_pattern: String,
pub fail_pattern: String,
pub skip_pattern: Option<String>,
pub name_group: usize,
pub duration_group: Option<usize>,
}Expand description
Configuration for regex-based output parsing.
Fields§
§pass_pattern: StringPattern to match a passing test line
fail_pattern: StringPattern to match a failing test line
skip_pattern: Option<String>Pattern to match a skipped test line
name_group: usizeCapture group index for the test name (1-indexed)
duration_group: Option<usize>Optional capture group for duration
Trait Implementations§
Source§impl Clone for RegexParserConfig
impl Clone for RegexParserConfig
Source§fn clone(&self) -> RegexParserConfig
fn clone(&self) -> RegexParserConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RegexParserConfig
impl Debug for RegexParserConfig
Source§impl PartialEq for RegexParserConfig
impl PartialEq for RegexParserConfig
impl StructuralPartialEq for RegexParserConfig
Auto Trait Implementations§
impl Freeze for RegexParserConfig
impl RefUnwindSafe for RegexParserConfig
impl Send for RegexParserConfig
impl Sync for RegexParserConfig
impl Unpin for RegexParserConfig
impl UnsafeUnpin for RegexParserConfig
impl UnwindSafe for RegexParserConfig
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