pub struct IndividualTestOutput {
pub name: String,
pub status: IndividualTestOutputStatus,
pub time: String,
pub failures: Option<Vec<Failure>>,
pub result: String,
}
Expand description
Provides info about individual test executions.
Example: For test FOO.Bar, this contains info about Bar.
Please refer to documentation of TestOutput
for details.
Fields§
§name: String
§status: IndividualTestOutputStatus
§time: String
§failures: Option<Vec<Failure>>
§result: String
This field is not documented, so using String. We can use serde_enum_str to convert it to enum, but that is not in our third party crates. Most common values seen in the output are COMPLETED, SKIPPED, SUPPRESSED
Trait Implementations§
Source§impl Debug for IndividualTestOutput
impl Debug for IndividualTestOutput
Source§impl Default for IndividualTestOutput
impl Default for IndividualTestOutput
Source§fn default() -> IndividualTestOutput
fn default() -> IndividualTestOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndividualTestOutput
impl<'de> Deserialize<'de> for IndividualTestOutput
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 PartialEq for IndividualTestOutput
impl PartialEq for IndividualTestOutput
Source§impl Serialize for IndividualTestOutput
impl Serialize for IndividualTestOutput
impl StructuralPartialEq for IndividualTestOutput
Auto Trait Implementations§
impl Freeze for IndividualTestOutput
impl RefUnwindSafe for IndividualTestOutput
impl Send for IndividualTestOutput
impl Sync for IndividualTestOutput
impl Unpin for IndividualTestOutput
impl UnwindSafe for IndividualTestOutput
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