pub struct RunnerSummary {
pub passed: usize,
pub failed: usize,
pub errors: usize,
pub build_failed: bool,
pub unresolved_only: bool,
}Expand description
Counts read from a test runner’s own summary output (libtest, pytest, jest/vitest, go test), when it writes no JUnit report.
Fields§
§passed: usizeTests that passed.
failed: usizeTests that failed on an assertion.
errors: usizeTests that errored at setup or collection.
build_failed: boolThe test code did not build or import.
unresolved_only: boolEvery build or import diagnostic is an unresolved name.
Trait Implementations§
Source§impl Clone for RunnerSummary
impl Clone for RunnerSummary
impl Copy for RunnerSummary
Source§impl Debug for RunnerSummary
impl Debug for RunnerSummary
Source§impl Default for RunnerSummary
impl Default for RunnerSummary
Source§impl<'de> Deserialize<'de> for RunnerSummary
impl<'de> Deserialize<'de> for RunnerSummary
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
impl Eq for RunnerSummary
Source§impl JsonSchema for RunnerSummary
impl JsonSchema for RunnerSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RunnerSummary
impl PartialEq for RunnerSummary
Source§impl Serialize for RunnerSummary
impl Serialize for RunnerSummary
impl StructuralPartialEq for RunnerSummary
Auto Trait Implementations§
impl Freeze for RunnerSummary
impl RefUnwindSafe for RunnerSummary
impl Send for RunnerSummary
impl Sync for RunnerSummary
impl Unpin for RunnerSummary
impl UnsafeUnpin for RunnerSummary
impl UnwindSafe for RunnerSummary
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