pub struct RunSummary {
pub passed: usize,
pub failed: usize,
pub ignored: usize,
pub measured: usize,
pub filtered_out: usize,
}Expand description
The pass/fail/ignored tallies of a wrapped cargo test run, summed across
every test binary (libtest prints one test result: line per binary, and
scan_output adds them up).
Fields§
§passed: usizeTests that passed.
failed: usizeTests that failed.
ignored: usizeTests skipped with #[ignore] or filtered out by name.
measured: usizeBenchmarks measured (libtest’s measured count; zero for cargo test).
filtered_out: usizeTests excluded by a name filter (cargo test <filter>).
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§fn clone(&self) -> RunSummary
fn clone(&self) -> RunSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunSummary
impl Debug for RunSummary
Source§impl Default for RunSummary
impl Default for RunSummary
Source§fn default() -> RunSummary
fn default() -> RunSummary
Returns the “default value” for a type. Read more
Source§impl PartialEq for RunSummary
impl PartialEq for RunSummary
Source§fn eq(&self, other: &RunSummary) -> bool
fn eq(&self, other: &RunSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RunSummary
impl Eq for RunSummary
impl StructuralPartialEq for RunSummary
Auto Trait Implementations§
impl Freeze for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnsafeUnpin for RunSummary
impl UnwindSafe for RunSummary
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