pub enum OutputParser {
Json,
Junit,
Tap,
Lines,
Regex(RegexParserConfig),
}Expand description
Output parser type for a script adapter.
Variants§
Json
Expects JSON matching TestRunResult schema
Junit
Expects JUnit XML output
Tap
Expects TAP (Test Anything Protocol) output
Lines
One test per line with status prefix
Regex(RegexParserConfig)
Custom regex-based parser
Trait Implementations§
Source§impl Clone for OutputParser
impl Clone for OutputParser
Source§fn clone(&self) -> OutputParser
fn clone(&self) -> OutputParser
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 OutputParser
impl Debug for OutputParser
Source§impl PartialEq for OutputParser
impl PartialEq for OutputParser
impl StructuralPartialEq for OutputParser
Auto Trait Implementations§
impl Freeze for OutputParser
impl RefUnwindSafe for OutputParser
impl Send for OutputParser
impl Sync for OutputParser
impl Unpin for OutputParser
impl UnsafeUnpin for OutputParser
impl UnwindSafe for OutputParser
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