pub struct TestFailedEvent {
pub test_name: String,
pub duration_ms: u64,
pub assertions_failed: u32,
pub error_message: String,
pub timestamp: String,
}Expand description
Test failed event
Emitted when a test execution fails.
Fields§
§test_name: StringTest name or path
duration_ms: u64Duration in milliseconds
assertions_failed: u32Number of assertions failed
error_message: StringError message
timestamp: StringTimestamp of the test completion
Trait Implementations§
Source§impl Clone for TestFailedEvent
impl Clone for TestFailedEvent
Source§fn clone(&self) -> TestFailedEvent
fn clone(&self) -> TestFailedEvent
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 TestFailedEvent
impl Debug for TestFailedEvent
Source§impl<'de> Deserialize<'de> for TestFailedEvent
impl<'de> Deserialize<'de> for TestFailedEvent
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 TestFailedEvent
impl RefUnwindSafe for TestFailedEvent
impl Send for TestFailedEvent
impl Sync for TestFailedEvent
impl Unpin for TestFailedEvent
impl UnwindSafe for TestFailedEvent
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